View Single Post
Old 11-12-2012, 01:09 PM   #115
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
deleted - you have a touch (on the 3, keystroke automation is now understood to operate via lipc, but digging around on the 5... no, probably X events)

EDIT: Yep:

Code:
121112:190307 kb[1228]: D def:draw key highlight: label=s key_state=2 (prv_keyboard_draw_highlight:/home/jenkins-official/src/yoshi/juno_2_0_1/OFFICIAL/platform/bin/kb/lib/keyboard.c:406)
   121112:190307 kb[1228]: D def:xt9:key=115,0x73 userData=122688 (prv_key_handler:/home/jenkins-official/src/yoshi/juno_2_0_1/OFFICIAL/platform/bin/kb/plugins/predictor/common/efigs.c:715)
   121112:190307 kb[1228]: P def:kb:time=1352746987.476118 delay=2:candidate_key_press
   121112:190307 kb[1228]: P def:kb:time=1352746987.478454 delay=8:XSendEvent
   121112:190307 kb[1228]: D def:XSendEvent: keysym=39 keycode=115 window=0xc00034 (x11_send_key:/home/jenkins-official/src/yoshi/juno_2_0_1/OFFICIAL/platform/bin/kb/lib/x11.c:194)
   121112:190307 kb[1228]: P def:kb:time=1352746987.487244 delay=34:x11_sync
   121112:190307 kb[1228]: P def:kb:time=1352746987.475355 delay=46:release
so... keysym=39 keycode=115 window=0xc00034 (or whatever looped to enter your password)


EDIT:

Yep: [root@kindle root]# xsendkeycode 50 1; xsendkeycode 38 1; xsendkeycode 38 0; xsendkeycode 50 0; send a capital A

however xsendkey has the weird prefix-output (I am guessing SHIFT_L is mapped oddly or something)

I can provide a build of xsendkeycode and xsendkeys (and liblineak-0.9.so.0) if anyone wants it for the touch. thanks

Last edited by twobob; 11-12-2012 at 03:24 PM.
twobob is offline   Reply With Quote