[SOLVED] SMS-style input from remote / keyboard

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
noxx Offline
Junior Member
Posts: 1
Joined: Aug 2009
Reputation: 0
Post: #1
Hi guys,

I just want to share this find with you that took me a lot of time to find...

If you have a remote that sends keyboard commands (like soundgraph imon) and want to take advantage of sms-style input in xbmc virtual keyboard inputs than this is what you have to do:

Find your keyboard.xml file and add (or change) the following lines:
Code:
<VirtualKeyboard>
     <keyboard>
       <zero>Number0</zero>
        <one>Number1</one>
        <two>Number2</two>
        <three>Number3</three>
        <four>Number4</four>
        <five>Number5</five>
        <six>Number6</six>
        <seven>Number7</seven>
        <eight>Number8</eight>
        <nine>Number9</nine>
        </keyboard>
</VirtualKeyboard>

That's it! Save and restart XBMC.

Thanks to cpt. spiff for helping me out on this one!
find quote
marv_el Offline
Senior Member
Posts: 154
Joined: Aug 2009
Reputation: 2
Post: #2
thank you for sharing!!
i was missing this feature, didn't know it already exists.
great!
find quote
hedgepigdaniel Offline
Junior Member
Posts: 14
Joined: Jan 2013
Reputation: 0
Post: #3
Thankyou kindly, this helped me make the same work with a logitech remote using Standard MCE drivers.

Any idea how to make the remote skip to a certain letter? e.g. in artists, pressing 5 twice should take the cursor to K.
find quote
sparklyballs Offline
Member
Posts: 83
Joined: Feb 2012
Reputation: 0
Post: #4
(2013-02-26 14:36)hedgepigdaniel Wrote:  Thankyou kindly, this helped me make the same work with a logitech remote using Standard MCE drivers.

Any idea how to make the remote skip to a certain letter? e.g. in artists, pressing 5 twice should take the cursor to K.

this is my entire keyboard.xml file.

the jump sms bits are what you're looking for.

http://www.xbmclogs.com/show.php?id=1265
(This post was last modified: 2013-02-27 09:14 by sparklyballs.)
find quote
hedgepigdaniel Offline
Junior Member
Posts: 14
Joined: Jan 2013
Reputation: 0
Post: #5
thanks. I did something similar, in that I put the jumpSMS mappings in the global section, which also seems to work. Is there a particular reason why you didn't do that?
find quote
sparklyballs Offline
Member
Posts: 83
Joined: Feb 2012
Reputation: 0
Post: #6
i just followed some tutorial i found somewhere (can't relocate the link).

i don't know if putting it in the global section would override the number entry function that i find very useful with the remote.

this works and no point fixing it if ain't broke.
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 6,344
Joined: Jul 2010
Reputation: 113
Location: USA
Post: #7
Yes, placing those key mappings in the global section would change the behavior of the number keys for your keyboard and remote throughout XBMC. So, if you need to type numbers in a text entry field (search, playlist name, system settings, file path, etc.) you'd instead get the SMS alphabetic characters. By placing those SMS key definitions in only the relevant sections, as you've done, you avoid this problem.

By the way, I removed your in-line posted keyboard.xml in post #4 above (it creates too much clutter). Instead, please upload the contents of that file to a public paste site such as http://www.xbmclogs.com and post just the assigned URL for your file in post #4 (use EDIT to modify that post). Thanks.
find quote
emailcraigs Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #8
Great...now that that content has expired on the xbmclogs site this informative thread has become useless. Well, at least it isn't cluttered...just useless.
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,939
Joined: Jan 2011
Reputation: 291
Location: Arizona, USA
Post: #9
This info is on the wiki: SMS

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote