Ive been working on a gaming project for awhile that uses a rotary encoder for left and right for games like pong or tempest. I really enjoy these kinds of games and a D pad just doesn't do them justice. Anyway I have setup gpio inputs for keyboard on retropie and the rotary encoder is recognized but I'm getting the same input for both turning directions. So I can set it to right or left but I can't have both. Another problem is that it holds for half turns and I can not continuously turn it to make assets move in the game. For example the main menu. Every click turn is not recognized but if I do half turns it holds that input.
Here is the Rotary encoder I'm using. https://www.amazon.com/Cylewet-Encoder- ... oder&psc=1
with a Pi Zero
I have Ground to pin 14
+to pin 1
Clk to pin 7
DT to pin 10
SW to pin 15
Any help would be greatly appreciated
Hardware-related questions that don't fit into any of the specialized hardware categories go here.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 19 guests