RatSlap

  • Status New
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Uncategorised
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Medium
  • Reported Version 0.0.0
  • Due in Version 0.3.1
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: RatSlap
Opened by Krayon - 2017-04-12

QB#118 - Button5 cannot be assigned to G5

From GitHub Issue #9 by adrfantini:

I have a very weird behaviour here. After having modified many buttons to
suit my needs, I have the following problem.

I cannot assign many software mouse Buttons to many hardware buttons.
Assigning keys seems to always work tho.

Say I am in this situation:
...
  sudo ratslap --p F3
  Left Click (But1):   Button1
  Right Click (But2):  Button2
  Middle Click (But3): Button3
  G4:                  
  G5:                  
  G6:                  
  G7:                  
  G8:                  ModeSwitch
  G9:                  DPICycle
...
Now let's try to modify it with:
  sudo ratslap --modify F3 --G4 Button4
Result:
  sudo ratslap --p F3
  Left Click (But1):   Button1
  Right Click (But2):  Button2
  Middle Click (But3): Button3
  G4:                  
  G5:                  
  G6:                  
  G7:                  
  G8:                  ModeSwitch
  G9:                  DPICycle
Nothing! Let's try assigning keys instead:
  sudo ratslap --modify F3 --G4 LeftAlt+K
  Left Click (But1):   Button1
  Right Click (But2):  Button2
  Middle Click (But3): Button3
  G4:                  LeftAlt + K
  G5:                  
  G6:                  
  G7:                  
  G8:                  ModeSwitch
  G9:                  DPICycle
Works...

In short, I can seem to bind mouse Buttons anymore!

However, some, like sudo ratslap --modify F3 --G7 Button9 work, while others,
like sudo ratslap --modify F3 --G7 Button5 do not.
Admin
Krayon commented on 2018-08-06 15:16

Unfortunately this is due to a limitation in the hardware. Not only can you not assign the scroll wheel to anything, you also can’t assign buttons to the scroll wheel. In mice, the scroll wheel actually generates mouse button’s 4 and 5 - hence why you can’t assign G4 to either of these buttons.

It is indeed a bug however that this is not reported to the user.

Admin
Krayon commented on 2018-08-06 15:18

MAIN BUG: QB#119 - Unrecognised keys/buttons fail silently

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing