Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Using a wireless USB Keypad as remote control
#6
(12-12-2023, 01:49 PM)muddiver Wrote: Hello there,

i wanted to add that you can read out the keynames for your keyboard when you log in via ssh and type in the following command:

Code:
sudo thd --dump /dev/input/event0

This displays the keys that were recognized.
Exit the display via Ctrg-C.

The file /etc/triggerhappy/triggers.d/media.conf is built up as follows..


KEY_Name    Press-Action        Command

The Key_Name can be displayed via the command above,
the Press-Action is  0=release button  1= press button 2= press button long.
The command can be found in the setup-txt of MoOde. Actually, the info is in line 311 following.

Additionally, if you type in "mpc help" via ssh, this give's you the full set of possible commands.

Just a little more explanation to make it easier to follow.

Thanks for your great work!
Greets, Thomas

Hi,

i get following error when using this command : 
sudo thd --dump /dev/input/event0
Error opening '/dev/input/event0': No such file or directory

Any ideas ? 


Thanks in advance
Reply


Messages In This Thread
RE: Using a wireless USB Keypad as remote control - by krimikael - 01-14-2024, 06:04 PM

Forum Jump: