NEW Repo for Remote files (Thanks to Betatester)

Yes,Some keys of WP2 do not work.

When assigning to non-working keys, they all do the same task.

Well, if you do create a working one, perhaps you could help the community by uploading here so I can put it in the above repo

X92 remote example
There are 2 modes available for remote: remote or keyboard
x92_remote_mod1

X92 in remote mode
X92_remote.zip (1.9 KB)

Green buttons description

6 - works as backspace
5 - work as guide button
4 - in PVR - OSD Channel list, in main menu as TV channel list
3 - works as home button
2 - change audio stream for video content
1 - info about video or about PVR channel, in main menu it open settings

  • copy the file “X92_remote” to /storage/.config/rc_keymaps/ and “rc_maps.cfg” to /storage/.config/
  • copy “remote.xml” to /storage/.kodi/userdata/keymaps/
  • reboot

X92 in keyboard mode (with longpress buttons)
X92_keyboard.zip (2.1 KB)

Green buttons description

6

  • works as backspace on virtual keyboard
  • delete for selections and return in all other places
  • at home screen - go to weather

5

  • main screen - channel EPG
  • PVR - channel EPG, longpress as EPG
  • video - bookmarks

4

  • in PVR - OSD Channel list
  • in main menu as TV channel list
  • as context menu somewhere, longpress as other menu

3

  • shows player info for video content, longpress - home screen

2

  • change audio stream for video content, longpress - Favorites

1

  • info about video or about PVR channel, longpress - PlayerDebug
  • in main menu it open settings

Default settings:
Power longpress - power menu
OK longpress - content menu

To use all described functionality:

  • copy the file “X92_keyboard” to /storage/.config/rc_keymaps/ and “rc_maps.cfg” to /storage/.config/
  • copy “keymaps.xml” to /storage/.kodi/userdata/keymaps/
  • copy empty “98-eventlircd.rules” to “/storage/.config/udev.rules.d/”
  • reboot

For all modes:
You can change the value how long it takes until Linux recognizes that you released a button. Test you remote with command ir-ctl -t 20000 where (20000 is 20 ms - minimal for X92 remote, use bigger values if remote doesn’t work after this command) and after:
Copy /usr/lib/udev/rules.d/70-input-repeat.rules to /storage/.config/udev.rules.d, and then add this line with correct value at the end (all in a single line, after the LABEL=“end” line):

ACTION==“add|change”, KERNEL==“lirc*[0-9]”, DRIVERS==“meson-ir”, RUN+=“/usr/bin/ir-ctl -d $devnode -t 20000”

P.S.: If you receive some errors, try to use files above as template and replace only names and mapping or check in Notepad++ for correct EOL conversion:
Edit->EOL conversion->Unix

And also default kodi keymap for remote:
https://github.com/xbmc/xbmc/blob/master/system/keymaps/remote.xml
Default kodi keymap for keyboard:
https://github.com/xbmc/xbmc/blob/master/system/keymaps/keyboard.xml
Kodi keys Lircmap(not all work):
https://github.com/xbmc/xbmc/blob/master/system/Lircmap.xml

3 Likes

Boot2k3,
you seem to know a lot about remote configuration. When I use a remote.xml file for a better configuration of the remote can use then the KEY_“values” directly in the remote.xml file? For example, in my custom ir-keytable a binded the IR codes from the numberic pad to actions. For example 1=rewind, 2=playpause, 3=fastforward, etc. for numbers 7, 9 and 0 I want to bind with actions not included in the ir-keytable values.
7 and 9 should regulate the adjustment of the subtitles (earlier or later). 0 should be binded to start a addon.
Can I then in the remote.xml bind KEY_7 to the disired action like this <7></7> same for KEY_9 and KEY_0 should become something like <0><RunAddon(addon)></0>. I already tired that but I did put everything in the keymap.xml file according to this principle as described in the kodi wiki, but maybe this is wiki isn’t up to date anymore for leia.

My example above updated several minutes ago with possible answer on your question.
See links on default kodi keymap for remote and for keyboard in the end of my X92 message
In your case it looks like you need to use <seven></seven> in remote.xml for KEY_7 and etc.
Find similar example and use it for your case
P.S.: In Kodi 18 several buttons like <red> in keyboard mode doesn’t work. So could be non-working exceptions

Thanks! Seven, nine and zero worked to get everything as wanted. Do you know where I can find the file that translates all the KEY_actions to the usable “actions”, with other words where is written that KEY_7 equals seven? If I check the log LIRC translates KEY_7 to JumpSMS7, so that should be somewhere in a configuration file.

My post updated, see “Kodi key Lircmap”

Thanks a lot. I was already searching on github for lircmap.xml, but didn’t find it.

SoC S905 Box KIII

KIII.ZIP (517 Bytes)

1 Like

Thanks uploaded to the repo

MiniMX:

Remote:

Files: MiniMX.zip (805 Bytes)

3 Likes

All well for Xtreamer Whizz. I just couldn’t find anywhere instructions for making the mouse button work, so I used the mouse key for command INFO which is quite handy.

Also about the POWER command, although puts the unit to sleep, it cannot wake it up so it is kind of useless. I thing this is a hardware or CoreELEC issue. Maybe I program it for something else. Your input is welcome

RC

Xtreamer_Whizz.zip (868 Bytes)

That’s because you are still classed as a new user because you have not browsed enough topics to raise your trust level, I have manually bumped your trust level so you should be able to post files now.

Abox A2 remoterc_maps.cfg (30 Bytes)
aboxa2.txt (194 Bytes)

I have upgraded Mini M8S+ box from LE to CE 8.90.2 but could not get original IR remote working. Remote for model “Mini M8S II” seems the same.
Tried M8S files from “LibreELEC 9.0 Remote Files” archive but no go.
Any suggestions?

Then you need to try to create the files from scratch, How to Remote Control Configuration for Dummies Using Windows and SSH

If, you get it working, post your files so they can be shared.

Remote mini M8S.rar (784 Bytes)

Thank you very much, will try your config.

I’ve got a M8S pro L with the bluetooth voice remote. Any way to get that to work with bluetooth?

I know some have gotten the Xaoimi MiPlus BT remote to work so I guess its possible?

IR works with the remote bit loosy IR receiver in the unit makes for a bad experience.