2012-05-24, 01:34
(2012-05-21, 01:40)Eriol Wrote: I haven't given up on making the XBMC Commands feature in Constellation work. As a demonstration on what I want to achieve and how it fails, I want Constellation to send XBMC the command to show codec info while showing a video in Fullscreen. The XBMC action name for this is CodecInfo and it is mapped to the letter 'o' in keyboard.xml.
So, in Constellation's Command interface, I build a new command of the type 'XBMC Standard key' and select the letter 'O' (only capital letters and digits are listed). This command fails to do what I want.
From XBMC.log I can see that Constellation sends a different code than my Windows keyboard, although both are named 'o'.
For my keyboard, that works just find when hitting 'o', I have in the log:
Code:00:46:34 T:2264 DEBUG: SDLKeyboard: scancode: 18, sym: 006f, unicode: 006f, modifier: 0
00:46:34 T:2264 DEBUG: CApplication::OnKey: o (f04f) pressed, action is CodecInfo
For Constellation, which fails, I have in the log:
Code:00:46:44 T:2264 DEBUG: HttpApi Start command: SendKey paras: SendKey; 0xf14f
00:46:44 T:2264 DEBUG: CApplication::OnKey: o (f14f) pressed, action is
Is this a bug in Constellation, or in Eden, or do I just have to make new entries in keyboard.xml?
Windows 7 x64, XBMC 11.0, Constellation 2.2.3 in iPad 2012
-Eriol
First, sorry it's taken so long to respond... I've been a little busy with another project (more on that later)... On to the question, I'm not sure if it's a bug or limitation, but one thing to try first is to change the keyboard.xml to use something like "Ctrl+O" for example and than change it to that in Constellation to see if it works. I haven't used the keyboard commands in Constellation in awhile, but I remember the last time I tried it I had issues with sending a single character (I tried using 'h' to toggle Watched/ShowAll) but I was able to get it to work changing it to "Ctrl+character." If you already have other things that utilize using 'o' for this, you can just add a second command in keyboard.xml to do the same thing and just make that one the "Ctrl+" and see how it goes. Another quick suggestion (no idea if it works or even matters since I'm not near my network right now) is try changing the Case of the character, put 'O' instead of 'o' or vice versa. If that doesn't work, could you please PM me a copy of your xml so I can test it against my system.
Other news:
I'll be adding a new section to the Constellation forums shortly to go along with the new "HTPCPortal" site I'm writing (alongside fellow XBMC user hernandito). For more information on that site, please see the last page or so of the Maraschino thread where we discuss it.