Gpio keyboard input

Aug 12, 2021 - 10:47 AM

  • Hello I'm interested in using keyboard stroke input from buttons wired into the GPIO, like with the Retrogame project. I used something like this on a raspberry Pi zero an 3b+. Is easy Todo or do I need to pickup a usb encoder?

    0
  • Hi...When you share code, put your code in a Code block... its on the editor panel above, between Quote and List. That will preserve your indents and makes stuff look nicer for the people trying to make sense of it. tnx

    raw_input is not generally something you want to use; in any case, your decision tree needs probably to be a little more robust. What happens ? What are you expecting to happen ?

    0