Dingoo Best way of reading Dingoo controller from Dingux?


slaanesh

Certified Guru
Joined
Nov 9, 2005
Messages
1,995
Age
54
Location
Melbourne, Australia
Website
www.slaanesh.net
What's the best or most efficient way of reading the controller from the Dingoo?
Code samples welcome.
Thanks.

EDIT. /dev/event0 looks good. I'll report back.

EDIT. Not sure if /dev/event0 can handle multiple simultaneous button presses. What about /dev/jz/gpio2_pxpin and /dev/jz/gpio3_pxpin?

EDIT. Can't read gpio pxpin registers from /dev/mem with mmap. Bus Error. Why?

Currently using /dev/jz/gpio2_pxpin and /dev/jz/gpio3_pxpin until I find a better solution.
 
Back
Top