hello all, Im trying to do a thing, and Im prolly going about it in a dumb way.
I have a synth program, called helm. it takes keyboard key presses, and generates beeps and boops whatever. so then I wrote a program to send key strokes to /dev/input/by-path/platform-i8042-serio-0-event-kbd
which is the actual keyboard for my laptop.
this works, I can make the sounds I want. but its sub ideal, and could open up all sorts of other issues I wish to avoid, if I knew how.
in my code:
int fd = open("/dev/input/by-path/platform-i8042-serio-0-event-kbd", O_WRONLY | O_NONBLOCK);