ypr0: Allow dection of multiple button presses at the same time.
commit016bc2452fba583561f91a8b15a492bf4fdc4d6b
authorThomas Martitz <kugel@rockbox.org>
Mon, 23 Jan 2012 13:50:31 +0000 (23 14:50 +0100)
committerThomas Martitz <kugel@rockbox.org>
Mon, 23 Jan 2012 13:50:31 +0000 (23 14:50 +0100)
tree35995b16f98f1db1512751aaf52b479b5bb03efe
parent01525419af228e72b2429e3fd89b7ce82ee782a0
ypr0: Allow dection of multiple button presses at the same time.

Reading from /dev/r0Btn only allowed to read one button at a time. Reading GPIO
directly via ioctl() doesn't have this limitation.

This adds a more complete GPIO list also.

Change-Id: If47b0846472f0817305dbf930731255f875e0269
Author: Lorenzo Miori
firmware/target/hosted/ypr0/button-target.h
firmware/target/hosted/ypr0/button-ypr0.c
firmware/target/hosted/ypr0/gpio_ypr0.h