I wanted to be able to distinguish mouse buttons, here's how I managed to do that. From the user perspective, it just adds a few fields to the status type and a button_down_n function to test a specific button.
Not sure you can be interested but I'll be glad to get any comment on this.
Please note the windows version is untested. Also, I don't know how to access buttons 4 and 5 on windows.
I wanted to be able to distinguish mouse buttons, here's how I managed to do that. From the user perspective, it just adds a few fields to the
status
type and abutton_down_n
function to test a specific button. Not sure you can be interested but I'll be glad to get any comment on this.Please note the windows version is untested. Also, I don't know how to access buttons 4 and 5 on windows.