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 would like to get /bin/keyhandler or something simmilar being executed with system() call with key hex code as argument from libopenrelease.so on each button press.
Such thing can be enabled/disabled (disabled by default) in openrelease.cfg option.
For example:
keyhandler = /bin/keyhandler
with default:
keyhandler = NULL
So it would run for example '/bin/keyhandler a9' for Guide button press.
Such code should wait until /bin/keyhandler exits (some timeout?), check its exit status and depends on exit status run other key events actions or not.
Examples of exit status:
0 - key action has been run, stop doing other actions.
1 - generate just uinput event
2 - run action set in openrelease_keymap.cfg
3 - generate uinput event and run action set in openrelease_keymap.cfg
... ?
We could then enhance functionality with such script or binary to execute actions in Linux shell depends on which key has been pressed.
The text was updated successfully, but these errors were encountered:
I would like to get /bin/keyhandler or something simmilar being executed with system() call with key hex code as argument from libopenrelease.so on each button press.
Such thing can be enabled/disabled (disabled by default) in openrelease.cfg option.
For example:
keyhandler = /bin/keyhandler
with default:
keyhandler = NULL
So it would run for example '/bin/keyhandler a9' for Guide button press.
Such code should wait until /bin/keyhandler exits (some timeout?), check its exit status and depends on exit status run other key events actions or not.
Examples of exit status:
0 - key action has been run, stop doing other actions.
1 - generate just uinput event
2 - run action set in openrelease_keymap.cfg
3 - generate uinput event and run action set in openrelease_keymap.cfg
... ?
We could then enhance functionality with such script or binary to execute actions in Linux shell depends on which key has been pressed.
The text was updated successfully, but these errors were encountered: