Mouse Functionality

Blitz3D Forums/Blitz3D Programming/Mouse Functionality

It only seems possible to to use at most three button mice with Blitz3D, does anybody know of any easy ways to use additional mouse buttons in Blitz?

I've not installed mouse drivers for my mouse, so only the first three are functional. However, assuming you do have drivers installed, does MouseHit(4) not return anything?

I have my mouse drivers installed and I can't get anything returned above MouseHit(3)

Windows only support three buttons and the mousewheel by default.
Windows 2000 & XP however also supports something called X buttons.
So pressing a 4:th mousebutton should generate a WM_XBUTTON message, just like pressing a "browserkey" on a keyboard would generate a WM_APPCOMMAND message.
But I don't know if Blitz handle those messages.
Read more here...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/aboutmouseinput.asp

[Edit]
If Blitz gets mouseinput from DirectX using the DIMOUSESTATE structure I think it only allows button 0-3.
I know DX8 & DX9 has an additional structure called DIMOUSESTATE2 which supports up to 8 buttons, but if DX7 has it or not, I don't know.