asterics / FLipMouse

The repository for FLipMouse (Finger and LipMouse)
https://www.asterics-foundation.org/projects/flipmouse
Other
36 stars 8 forks source link

applied changes for unified hold/press commands for mouse and keyboard #25

Closed ChrisVeigl closed 6 years ago

ChrisVeigl commented 6 years ago

some changes to remove ambiguities in the command names

added hold commands for mouse clicks and key presses: "AT HL", "AT HM", "AT HR" can be used to hold mouse clicks (these were called "press" before which was misleading because the "press key" commands trigger release automatically.) Kept "AT PL", "AT PR", "AT PM" in the command parser for compatibility reason.

added toggle commands for mouse clicks and key presses: "AT TL", "AT TM", "AT TR", "AT KT" toggling means that the state "pressed"/"released" will change when a user action is triggered

pls check if this works for you ...

ChrisVeigl commented 6 years ago

will re-introduce meaningful return values for handleButton() when they are needed, i.e. when we distiguish long/shot button presses