swapping_20the_20mouse_20buttons
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
swapping_20the_20mouse_20buttons [2018/03/31 13:19] – external edit 127.0.0.1 | swapping_20the_20mouse_20buttons [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Swapping the mouse buttons===== | =====Swapping the mouse buttons===== | ||
- | //by Richard Russell, January 2011//\\ \\ You can swap the mouse buttons, that is reverse the normal actions of the left and right buttons, as follows:\\ | + | //by Richard Russell, January 2011//\\ \\ You can swap the mouse buttons, that is reverse the normal actions of the left and right buttons, as follows: |
+ | |||
+ | <code bb4w> | ||
SYS " | SYS " | ||
- | To restore the conventional functions for the buttons use:\\ | + | </ |
+ | |||
+ | To restore the conventional functions for the buttons use: | ||
+ | |||
+ | <code bb4w> | ||
SYS " | SYS " | ||
- | Note that the mouse is a shared resource, so any change you make will affect all applications and utilities, not just your program.\\ \\ You can discover whether the mouse buttons have been swapped as follows:\\ | + | </ |
+ | |||
+ | Note that the mouse is a shared resource, so any change you make will affect all applications and utilities, not just your program.\\ \\ You can discover whether the mouse buttons have been swapped as follows: | ||
+ | |||
+ | <code bb4w> | ||
SM_SWAPBUTTON = 23 | SM_SWAPBUTTON = 23 | ||
SYS " | SYS " | ||
+ | </ | ||
+ | |||
This will set **yes%** to zero if the mouse buttons are not swapped, and non-zero if they are swapped. | This will set **yes%** to zero if the mouse buttons are not swapped, and non-zero if they are swapped. |
swapping_20the_20mouse_20buttons.1522502385.txt.gz · Last modified: 2024/01/05 00:16 (external edit)