You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into the Hammerspoon API and several scripts,
it seems that combinations of modifier keys (Ctrl, Shift, Cmd...) and
regular keys (h,j,k,l..etc) work well, but modifier keys by themselves cannot distinguish single tapping.
Strangely, the modifier key can only recognize events with 'flagsChanged',
and in this case, I can recognize which modifier key was pressed in the Down event, but cannot recognize which mod key was released in the Up event.
Furthermore, the result of the getType() function is 12 for both up and down, whereas I can recognize 10 (down) and 11 (up) for regular keys.
I wonder if this is intended or a bug. Are you any plans to fix it in a future version?
The text was updated successfully, but these errors were encountered:
I looked into the Hammerspoon API and several scripts,
it seems that combinations of modifier keys (Ctrl, Shift, Cmd...) and
regular keys (h,j,k,l..etc) work well, but modifier keys by themselves cannot distinguish single tapping.
Strangely, the modifier key can only recognize events with 'flagsChanged',
and in this case, I can recognize which modifier key was pressed in the Down event, but cannot recognize which mod key was released in the Up event.
Furthermore, the result of the getType() function is 12 for both up and down, whereas I can recognize 10 (down) and 11 (up) for regular keys.
I wonder if this is intended or a bug. Are you any plans to fix it in a future version?
The text was updated successfully, but these errors were encountered: