# Help with keymapping

**URL:** <https://forums.plex.tv/t/help-with-keymapping/106257>\
**Category:** Apps & Creations\
**Created:** [June 16, 2015, 2:00am UTC](https://forums.plex.tv/t/help-with-keymapping/106257 "2015-06-16T02:00:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![thejinx0r](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@thejinx0r](https://forums.plex.tv/u/thejinx0r)\
**Post date:** [June 16, 2015, 2:00am UTC](https://forums.plex.tv/t/help-with-keymapping/106257/1 "2015-06-16T02:00:08Z")

</div>

Hi,

&nbsp;

I got a new "keyboard" for my rasplex. The fast forward and rewind buttons on them map to these keys:

&nbsp;

> &nbsp;
> 
> 01:45:54 T:1975263232 &nbsp; DEBUG: Keyboard: scancode: d0, sym: 0157, unicode: 0000, modifier: 0
> 
> 01:45:54 T:1975263232 &nbsp; DEBUG: OnKey: 0 (f200) pressed, action is
> 
> 01:45:56 T:1975263232 &nbsp; DEBUG: Keyboard: scancode: a8, sym: 0153, unicode: 0000, modifier: 0
> 
> 01:45:56 T:1975263232 &nbsp; DEBUG: OnKey: 0 (f200) pressed, action is

&nbsp;

In the xml keymapping file, how can I differentiate the two 0 keys?

I tried "FastForward and it didn't seem to work.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 16, 2015, 8:15am UTC](https://forums.plex.tv/t/help-with-keymapping/106257/2 "2015-06-16T08:15:52Z")

</div>

> Hi,  
> &nbsp;  
> I got a new "keyboard" for my rasplex. The fast forward and rewind buttons on them map to these keys:  
> &nbsp;  
>   
> &nbsp;  
> In the xml keymapping file, how can I differentiate the two 0 keys?  
> I tried "FastForward and it didn't seem to work.[/size]

  
What type of 'keyboard' is it? Which keys are you trying to map on this 'keyboard'.  
  
Regards

---

<div class="post-metadata">

**Author:** ![thejinx0r](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@thejinx0r](https://forums.plex.tv/u/thejinx0r)\
**Post date:** [June 16, 2015, 9:48am UTC](https://forums.plex.tv/t/help-with-keymapping/106257/3 "2015-06-16T09:48:08Z")

</div>

It's this keyboard:&nbsp;[http://www.amazon.com/Aerb-Wireless-Keyboard-Multifunctional-3-Gsensor/dp/B00K768DHY](http://www.amazon.com/Aerb-Wireless-Keyboard-Multifunctional-3-Gsensor/dp/B00K768DHY)

If you look at the keyboard, on the front side, it has a fast forward and rewind buttons on the top left corner, but they didn't work out of the box with plex / rasplex.&nbsp;

So I enabled the debug logging on plex, and looked to see which buttons it was mapping to.Now, I'm just unable to map those two keys.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 16, 2015, 10:08am UTC](https://forums.plex.tv/t/help-with-keymapping/106257/4 "2015-06-16T10:08:02Z")

</div>

> It's this keyboard:&nbsp;[http://www.amazon.com/Aerb-Wireless-Keyboard-Multifunctional-3-Gsensor/dp/B00K768DHY](http://www.amazon.com/Aerb-Wireless-Keyboard-Multifunctional-3-Gsensor/dp/B00K768DHY)  
> &nbsp;  
> If you look at the keyboard, on the front side, it has a fast forward and rewind buttons on the top left corner, but they didn't work out of the box with plex / rasplex.&nbsp;  
> So I enabled the debug logging on plex, and looked to see which buttons it was mapping to.Now, I'm just unable to map those two keys.

  
Can you login via SSH and type irw and then press each of the buttons and post results back here indicating which is which. Control C will get you back out of irw.  
  
Regards

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 16, 2015, 10:45am UTC](https://forums.plex.tv/t/help-with-keymapping/106257/5 "2015-06-16T10:45:16Z")

</div>

> It's this keyboard:&nbsp;[http://www.amazon.com/Aerb-Wireless-Keyboard-Multifunctional-3-Gsensor/dp/B00K768DHY](http://www.amazon.com/Aerb-Wireless-Keyboard-Multifunctional-3-Gsensor/dp/B00K768DHY)  
> &nbsp;  
> If you look at the keyboard, on the front side, it has a fast forward and rewind buttons on the top left corner, but they didn't work out of the box with plex / rasplex.&nbsp;  
> So I enabled the debug logging on plex, and looked to see which buttons it was mapping to.Now, I'm just unable to map those two keys.

&nbsp;&nbsp;

> Can you login via SSH and type irw and then press each of the buttons and post results back here indicating which is which. Control C will get you back out of irw.  
> Regards

  
Have just found this in the OpenELEC Wiki [http://wiki.openelec.tv/index.php?title=Guide\_To\_lirc\_rpi\_GPIO\_Receiver](http://wiki.openelec.tv/index.php?title=Guide_To_lirc_rpi_GPIO_Receiver)  
  
Follow the guide and just create two entries, one for KEY\_REWIND and one for KEY\_FASTFORWARD (you could also create one for KEY\_STOP using a spare button on the remote), when finished reboot and test.

---

<div class="post-metadata">

**Author:** ![thejinx0r](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@thejinx0r](https://forums.plex.tv/u/thejinx0r)\
**Post date:** [June 16, 2015, 11:55am UTC](https://forums.plex.tv/t/help-with-keymapping/106257/6 "2015-06-16T11:55:15Z")

</div>

> Can you login via SSH and type irw and then press each of the buttons and post results back here indicating which is which. Control C will get you back out of irw.  
>   
> Regards

I tried it and nothing happened.

The usb dongle probably only replies to the 2,4ghz wireless connection and not the IR.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 16, 2015, 12:08pm UTC](https://forums.plex.tv/t/help-with-keymapping/106257/7 "2015-06-16T12:08:39Z")

</div>

> I tried it and nothing happened.  
> &nbsp;  
> The usb dongle probably only replies to the 2,4ghz wireless connection and not the IR.

  
Sorry, didn't realise it was RF, not IR.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 7:00pm UTC](https://forums.plex.tv/t/help-with-keymapping/106257/8 "2020-01-08T19:00:11Z")

</div>


