Joined: Tue Jun 23, 2009 11:53 pm Posts: 18 Location: Melbourne, Australia
|
|
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.
|
|