Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 6235

[piCorePlayer] Customization of RF remote control keys?

$
0
0
Dear Squeezebox community,

I have a few question about the possibility to customize RF remote control keys in piCorePlayer. But let me start with describing my pCP setup.

I built a Squeezebox player using a Raspberry Pi ZeroW board in combination with piCorePlayer. I can control pCP with a smartphone control app (I am using Squeeze Ctrl on an Android phone), but also wanted to be able to control pCP using an RF remote control. To accomplish this I installed the Jivelite extension in pCP, and bought an RF remote control to control Jivelite. The Jivelite screen is displayed on my TV via the HDMI output of the RPi ZeroW.

The RF remote control that I bought is a "model T3" device that is described here: https://forum.kodi.tv/showthread.php?tid=278842 . This remote is sold on Aliexpress for circa 10 US dollar, for example here: https://www.aliexpress.com/item/4000671247122.html . It is actually a multi-function remote control that can be switched between RF mode (in this mode it can also work as a mouse) and IR mode. I am using the RF mode for remote control of piCorePlayer via Jivelite, and the IR mode for remote control of my Stereo set. The remote comes with an RF receiver in the form of an USB dongle, that is connected to the USB port of my RPi ZeroW using an USB to micro-USB adapter cable.

After connecting the RF receiver to the USB port of the RPi ZeroW, RF remote control was working immediately (i.e. without installing LIRC or IR tools for Jivelite), and most keys at the front side of the remote have the function that I would expect. So RF remote control is actually working quite well, but if possible I would like to change the function of a few keys. For example, with the existing key mapping, somehow I unintentially changed internet radio station presets a few times. I think I can avoid this by removing c.q. changing the function of the 4 coloured buttons at the front side of the remote. Also I would like to change the behavior of the pause/play button, i.e. give it the same function as the space bar at the bottom side of the remote.

Finally here are my questions:
1) Where in piCorePlayer is the mapping of RF remote control keys defined? Is it in piCore Linux or in Jivelite?
2) Does anybody know if it is possible to customize the key mapping? If so, how?
3) Is there a linux tool to detect the key code of RF remote control keys? I suppose that I first need to know the key code of a specific key before I can map the key on another action.

Thanks in advance for your help.

Viewing all articles
Browse latest Browse all 6235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>