HOW-TO:Use SMS-style text entry for remotes: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
If you have a remote control that is viewed as a keyboard to XBMC and want to enable SMS/T9-like text input and page jumping, do the following:
<section begin="intro" />If you have a remote control that is viewed as a keyboard to XBMC and want to enable SMS/T9-like text input and page jumping, this guide wills how you how to enable this using a custom [[keymap]].<section end="intro" />


#[[Settings/System/Input devices]] -> enable "Remote control sends keyboard presses"
== Steps ==
#make a keyboard.xml [[keymap]] file with this (save it in [[userdata]]/keymaps/): <syntaxhighlight lang="xml" enclose="div">
{{how-to
| Step1 = Create a '''plain text file''' (no rich text formatting, don't use .doc, etc) and save it as '''keyboard.xml'''. Make sure that the file extension is ".xml" and '''not''' ".txt" or ".xml.txt".
 
| Step2 = Cut and paste this into your new plain text file:
<syntaxhighlight lang="xml" enclose="div">
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<keymap>
Line 94: Line 98:
</keymap>
</keymap>
</syntaxhighlight>
</syntaxhighlight>
| Step3 = Save this file in [[userdata]]/Keymaps/:
{{hidden|1=[[userdata folder]] location:|2={{#lst:userdata|location all}} }}
| Step4 = If XBMC is already running then restart it so that the changes take effect.
| Step5 = Go into XBMC and then {{highlight|bordered=yes|[[Settings/System#Input devices|Settings -> System -> Input devices]]}} and enable '''Remote control sends keyboard presses'''. This will allow your arrow keys to use the on-screen keyboard even though XBMC thinks your remote is a keyboard already.
}}


== Filter instead of jump ==
== Filter instead of jump ==

Revision as of 08:38, 16 March 2014

If you have a remote control that is viewed as a keyboard to XBMC and want to enable SMS/T9-like text input and page jumping, this guide wills how you how to enable this using a custom keymap.

Steps

1 Create a plain text file (no rich text formatting, don't use .doc, etc) and save it as keyboard.xml. Make sure that the file extension is ".xml" and not ".txt" or ".xml.txt".
2 Cut and paste this into your new plain text file:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <global>
    <keyboard>
      <zero>Number0</zero>
      <one>JumpSMS1</one>
      <two>JumpSMS2</two>
      <three>JumpSMS3</three>
      <four>JumpSMS4</four>
      <five>JumpSMS5</five>
      <six>JumpSMS6</six>
      <seven>JumpSMS7</seven>
      <eight>JumpSMS8</eight>
      <nine>JumpSMS9</nine>
      <escape>Back</escape>
    </keyboard>
  </global>
  <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>
      <backspace>Backspace</backspace>
    </keyboard>
  </VirtualKeyboard>
  <FullscreenVideo>
    <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>
      <escape>Stop</escape>
    </keyboard>
  </FullscreenVideo>
  <VideoMenu>
    <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>
  </VideoMenu>
  <NumericInput>
    <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>
  </NumericInput>
  <Teletext>
    <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>
  </Teletext>
</keymap>
3 Save this file in userdata/Keymaps/:
4 If XBMC is already running then restart it so that the changes take effect.
5 Go into XBMC and then Settings -> System -> Input devices and enable Remote control sends keyboard presses. This will allow your arrow keys to use the on-screen keyboard even though XBMC thinks your remote is a keyboard already.


Filter instead of jump

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?

You can also use FilterSMS instead of JumpSMS.