summaryrefslogtreecommitdiffstats
path: root/uisimulator/battery.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-09-23 16:59:56 +0000
committerThomas Martitz <kugel@rockbox.org>2009-09-23 16:59:56 +0000
commitca85c401f58e089b27a4d37ce76265985fa470d7 (patch)
tree494dd606a51ad63132b5fdf19e4ddc12b552e45a /uisimulator/battery.c
parentfe4526e8682fe53a9c1eac422f8e9dd8224b8376 (diff)
downloadrockbox-ca85c401f58e089b27a4d37ce76265985fa470d7.tar.gz
rockbox-ca85c401f58e089b27a4d37ce76265985fa470d7.tar.bz2
rockbox-ca85c401f58e089b27a4d37ce76265985fa470d7.zip
Rework the simulators button reading to not implement it's own complete driver.
Instead, implement it more as a target driver with button_read_device(), button_init_device() and button_hold(), then use the normal button driver from firmware/drivers/button.c. Fixes FS#10451 ("backlight off on hold doesn't function properly"). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22799 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/battery.c')
0 files changed, 0 insertions, 0 deletions