In X11 Enter key is named Return.
If you are testing Controller Service via SSH, you have to use the DISPLAY prefix to point which display should receive key strokes, e.g.
Also please remember that in config file you have to provide GPIO number, not the Raspberry PI pin number. We tested above config in our reference setup (we used different pin numbers) and everything works as expected.
[Controller]
Type=5
[RotaryEncoder]
SiaPinNumber=5
SibPinNumber=6
SwPinNumber=13
LeftKeyStrokes=1
RightKeyStrokes=2
SwitchKeyStrokes=Return
If you are testing Controller Service via SSH, you have to use the DISPLAY prefix to point which display should receive key strokes, e.g.
Quote:DISPLAY=:0 controller_service /home/pi/.openauto/config/openauto_controller_service.ini
Also please remember that in config file you have to provide GPIO number, not the Raspberry PI pin number. We tested above config in our reference setup (we used different pin numbers) and everything works as expected.