Replies: 1 comment 1 reply
-
Probably waaay too late but mcp2515/2518 can bus module + 32u4 arduino is the simplest way to do that bc that ardunio is capable of emulating a keyboard. Personally I've done it with resistive buttons (have an older car) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
I'm trying to control crankshaft through can bus signals from my radio which should be converted into virtual keyboard key presses.
For testing purposes I made a nodejs script which uses xdotool to press the enter button.
Unfortunately xdotool is not able to press a button:
pi@CRANKSHAFT-NG:~ $ node keypress.js
Fehler beim Ausführen des Befehls: Command failed: xdotool key Return
Error: Can't open display: (null)
Failed creating new xdo instance
My USB Keyboard works just fine so it's an issue with xdotool and it's capability to control crankshaft-ng.
I'm using the latest image (2022-09-11-crankshaft-ng-66525ef.img) on my Raspberry Pi 3 Model B V.1.2.
Do you have any suggestions how to solve or which virtual keyboard to use?
Thanks!
Content of my keypress.js script:
Beta Was this translation helpful? Give feedback.
All reactions