diff options
author | epoch <epoch@hacking.allowed.org> | 2020-10-11 01:44:07 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-10-11 01:44:07 -0500 |
commit | 7a0b3ef8afab3d4f6721879544021b2bc70df55e (patch) | |
tree | 045708655d503cec48bc26775ca515bd64d80089 /src | |
parent | 71992392c025c7d0d918c1706a4c5805dbf784ff (diff) | |
download | hackvr-7a0b3ef8afab3d4f6721879544021b2bc70df55e.tar.gz hackvr-7a0b3ef8afab3d4f6721879544021b2bc70df55e.zip |
put mouse buttons back to "normal" left-primary and right-secondary
Diffstat (limited to 'src')
-rw-r--r-- | src/mouse_die.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mouse_die.c b/src/mouse_die.c index 2258a08..f24fbe1 100644 --- a/src/mouse_die.c +++ b/src/mouse_die.c @@ -40,8 +40,8 @@ int mouse_init() { //it doesn't care if you have X11 buttons swapped around ofc. char die2map(char d) {//edit this function if you want to change your primary and secondary mouse button. switch(d) { - case DIE_MOUSE_RIGHT: return MOUSE_PRIMARY; - case DIE_MOUSE_LEFT: return MOUSE_SECONDARY; + case DIE_MOUSE_LEFT: return MOUSE_PRIMARY; + case DIE_MOUSE_RIGHT: return MOUSE_SECONDARY; case DIE_MOUSE_CENTER: return MOUSE_TERTIARY; default: return -1; } |