Closed raithel closed 1 year ago
Notice:
Upcoming NetFlix Plugin allows control via event simulation for Netflix UI, but the scheme can be reused in a general keyboard&mouse simulation plugin.
btw. you can already make this work by using EXEC: functionality added in 2022
command:"page up","EXEC:xdotoolx:xkeyx:xPage_Up" command:"page down","EXEC:xdotoolx:xkeyx:xPage_Down" etc.
Please see netflix plugin code & config for scripts and usefull codes.
New functionality should come from plugins, as anyone can later decide if a given functionality shall be part of his instance or not.
command:"pgup","EXEC:xdotoolx:xkeyx:xPage_Up" command:"pgdwn","EXEC:xdotoolx:xkeyx:xPage_Down" command:"pressend","EXEC:xdotoolx:xkeyx:xctrl+End" command:"presshome","EXEC:xdotoolx:xkeyx:xctrl+Home" command:"maximizewindow","EXEC:xdotoolx:xkeyx:xctrl+Super+Up" command:"minimizewindow","EXEC:xdotoolx:xkeyx:xShift+Alt+Page_Down"
I would like to propose looking into the possibility to integrating keyboard shortcut support into PVA.
This would allow for you to tie many user based interactions to voice commands.
I have already implemented this on my personal machine. ;)
I use this feature all of the time when I am working on one computer, and reading documentation or an article on my personal computer and need hands free navigation.
This would allow for opening the door to many window manager agnostic accessibility features using PVA.
Currently the way I have this implemented on my install, is a modification to
pva.java
and the01-default.conf
file:Here are some examples that I am already using on my personal install of PVA:
Section of pva.java
relevant sections of 01-default.conf
Allowing for keyboard shortcut support would allow for PVA to work with any window manager in a platform agnostic manner. No need to mess with window manager specific APIs. ;)
Thus you would be able to link many window manager actions to the keyboard shortcuts that are already in place. :)
This would allow for you to perform interface based actions with PVA using minimal configuration changes on any window manager that supports keyboard shortcuts.
Please let me know if you have any questions, or suggestions on any better ways to implement this kind of functionality.
As mentioned, if you have any questions for me, please feel free to contact me. Thank you for your time and considerations!