ksandom / handWavey

A more intuitive/usable desktop control using leapmotion/ultraleap.
https://www.randomksandom.com/handWavey/
GNU General Public License v3.0
20 stars 1 forks source link

Add the experimental grabMove gestureLayout #11

Closed ksandom closed 2 years ago

ksandom commented 2 years ago

This doesn't need to be merged at the moment. I just wanted to share the proof-of-concept we did on the phone. I'll have a think and refine it to something more useful soon.

The two lines I modified are:

ksandom@delli:~/files/develop/handWavey/examples/gestureLayouts/labs/grabMove$ diff ../../grabClick/actionEvents.yml actionEvents.yml 
26c26
<     value: lockCursor();rewindCursorPosition();mouseDown();
---
>     value: lockCursor();rewindCursorPosition();keyDown("alt");mouseDown();
28c28
<     value: rewindCursorPosition();rewindScroll();releaseButtons();unlockCursor();
---
>     value: rewindCursorPosition();rewindScroll();releaseButtons();keyUp("alt");unlockCursor();

Something I forgot to mention when we talked; is that the event names you see in the YAML file are not the only ones you can use. You can make any combination of states to form an event. I have documenting this on my to-dos, but you can also get clues about possible events from the default debug level.

ksandom commented 2 years ago

Closing since we're unlikely to do anything with this, but it's easy to do again if we decide that we want to pursue it.