Support for more than three mouse buttons?

BlitzMax Forums/BlitzMax Programming/Support for more than three mouse buttons?

The must be a way of getting it to work without relying on Direct X.