PiClock icon indicating copy to clipboard operation
PiClock copied to clipboard

The remote control works incorrectly.

Open xenon462 opened this issue 3 years ago • 1 comments

When you press the button, it is an endless turning of pages on the clock. All other commands of the remote control correctly. https://drive.google.com/file/d/1w3wbx3bP2eGtwj77UM_yU2t1ldVy__4O/view?usp=sharing For example, if you set the commands to execute Python files into the /etc/lirc/irexec.lircrc file, everything works fine. Switching the mouse and keyboard normal. irexec lircrc I use the remote HX1838 HX1838 Here are my settings: lircd.conf.txt lirc_options.conf.txt changes in /etc/lirc/lirc_options.conf device = /dev/lirc0 uinput = False Do not help.

Python version Python 2.7.13 The clock page switches infinitely. What could be the problem?

xenon462 avatar Feb 18 '22 08:02 xenon462

Added imitation of keystrokes install xautomation

sudo apt-get install xautomation

Edit file irexec.lircrc

sudo nano /etc/lirc/irexec.lircrc

Change strings config

begin prog = irexec button = KEY_LEFT config = sudo -u pi DISPLAY=:0 xte 'key Left' end

begin prog = irexec button = KEY_RIGHT config = sudo -u pi DISPLAY=:0 xte 'key Right' end

xenon462 avatar Mar 12 '22 06:03 xenon462