Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell send keyboard signals to OS

I would like to echo keyboard input to the operating system (ubuntu) from haskell. More specifically, I"m parsing a binary signal and I would like to turn it into keyboard input. I am not trying to capture keyboard input into the program.

Is there a haskell package that enables this? If not, is there a good attack strategy?

like image 330
Peter Klipfel Avatar asked Nov 10 '22 10:11

Peter Klipfel


1 Answers

Ok, so I ended up using the Test.Robot library. It is not portable across operating systems, but I can now type with a midi controller. If anyone is interested, the code is on github.

like image 109
Peter Klipfel Avatar answered Nov 15 '22 06:11

Peter Klipfel