Some more thought and experiments:
Works:
Code:
# lipc-send-event -r 3 com.lab126.hal orientationUp
Does not work:
Code:
# lipc-send-event -r 3 com.lab126.framework insertKeystroke -is 194
Failed to open LIPC
Retrying in 1 secs...
Failed to open LIPC
Retrying in 1 secs...
Failed to open LIPC
Retrying in 1 secs...
Failed to open LIPC
com.lab126.framework failed to send event insertKeystroke
I also tried waitforkey with the virtual keyboard, which does not work. This confirms my suspicion this is a pure Java thing.
Wild imagination:
Code:
while true
do
waitforkey | cut -d " " -f 1 | xargs lipc-send-event -r 3 com.lab126.framework insertKeystroke -is
done
Maybe disassemble the framework and hack the source. Has this been done before? With extkeyboard, it does register arrow keys and lsof reveals cvm is opening event 3 and 4.