HTTP API SendKey broken for 'l'
#1
Code:
11:54:37 T:3045689200 M:3436855296   DEBUG: ------ Window Init (DialogKeyboard.xml) ------
11:54:42 T:3045689200 M:3437281280   DEBUG: HttpApi Start command: SendKey  paras: SendKey; 0xf16b
11:54:42 T:3045689200 M:3437281280   DEBUG: GetActionCode: Trying Hardy keycode for 0xf16b
11:54:42 T:3045689200 M:3437281280   DEBUG: Previous line repeats 4 times.
11:54:42 T:3045689200 M:3437281280   DEBUG: OnKey: 61803 pressed, trying keyboard action 61803
11:54:42 T:3045689200 M:3437281280 WARNING: GetLabel - Unknown nodetype requested 12
11:54:55 T:3045689200 M:3438211072   DEBUG: HttpApi Start command: SendKey  paras: SendKey; 0xf16d
11:54:55 T:3045689200 M:3438211072   DEBUG: GetActionCode: Trying Hardy keycode for 0xf16d
11:54:55 T:3045689200 M:3438211072   DEBUG: Previous line repeats 4 times.
11:54:55 T:3045689200 M:3438211072   DEBUG: OnKey: 61805 pressed, trying keyboard action 61805
11:54:55 T:3045689200 M:3438211072 WARNING: GetLabel - Unknown nodetype requested 12
11:55:04 T:2732575600 M:3438641152   DEBUG: Thread 2732575600 terminating (autodelete)
11:55:04 T:3045689200 M:3438641152   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
11:55:04 T:3045689200 M:3438641152   DEBUG: Unloading: ImageLib-i486-linux.so
11:55:16 T:3045689200 M:3439259648   DEBUG: HttpApi Start command: SendKey  paras: SendKey; 0xf16c
11:55:16 T:3045689200 M:3439259648   DEBUG: GetActionCode: Trying Hardy keycode for 0xf16c
11:55:16 T:3045689200 M:3439259648   DEBUG: Previous line repeats 3 times.
11:55:16 T:3045689200 M:3439259648   DEBUG: OnKey: 61804 pressed, trying keyboard action 7

If I try to send an 'l' with a virtual keyboard open, it closes the virtual keyboard... for some reason, the action is "7" instead of "61804"

Any ideas on how to figure out what's going on and if it's a configuration error?

Does anyone else see this problem?

I am using XBMC 10.1 Compiled March 9, 2011 (current from repo) on Ubuntu 10.10 and Transperency! v3.11.7
Reply
#2
Hmm, I had a quick play with the Windows version of XBMC and in an edit control (I tested using System/Weather/Change area 1):

Code:
curl http://localhost:81/xbmcCmds/xbmcHttp?command=SendKey(0xF16c)

correctly sends a lowercase l. However:

Code:
curl http://localhost:81/xbmcCmds/xbmcHttp?command=SendKey(0xF06c)

produces:

Code:
DEBUG: HttpApi Start command: SendKey  paras: SendKey; 0xF06c
DEBUG: CApplication::OnKey: 61548 pressed, trying keyboard action 7

but not always, though I haven't worked out exactly when it does and doesn't end up in keyboard action 7. It seems to depend on the setting for System settings/System/Input devices setting "Remote control sends keyboard presses".

The keyboard handling has changed completely for Eden, so while I don't think it's worth looking at the Dharma code I will have a play with Eden and see if I can reproduce this.

JR
Reply

Logout Mark Read Team Forum Stats Members Help
HTTP API SendKey broken for 'l'0