summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/creative-zen/button-zen.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-22 20:28:51 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-22 20:28:51 +0100
commit82b86d4316d0e9d74c5ea086797750b0975e9023 (patch)
tree5033684acb7a78f79e1cf9907e836a719bcf4020 /firmware/target/arm/imx233/creative-zen/button-zen.c
parentc02bc1afd2a2400a41a863918bfe4eaf0255d60d (diff)
downloadrockbox-82b86d4316d0e9d74c5ea086797750b0975e9023.tar.gz
rockbox-82b86d4316d0e9d74c5ea086797750b0975e9023.zip
imx233: introduce new generic button driver
This driver will subsume the old button-lradc driver and support far more options. It can sense LRADC channels, PSWITCH, GPIOs and it handles special "buttons" like headphone insertion and hold detection. It also provides a more natural description of the buttons using a target-defined table with some macros to make it easy to read and write. It uniformely handles debouncing on LRADC channels and PSWITCH. Change-Id: Ie61d1f593fdcf3bd456ba1d53a1fd784286834ce
Diffstat (limited to 'firmware/target/arm/imx233/creative-zen/button-zen.c')
0 files changed, 0 insertions, 0 deletions