View Single Post
Old 11-04-2012, 12:46 PM   #21
pepijndevos
Connoisseur
pepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 71
Karma: 23166
Join Date: Sep 2012
Device: Kindle 4NT
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.
pepijndevos is offline   Reply With Quote