commit | ca85c401f58e089b27a4d37ce76265985fa470d7 | [log] [tgz] |
---|---|---|
author | Thomas Martitz <kugel@rockbox.org> | Wed Sep 23 16:59:56 2009 +0000 |
committer | Thomas Martitz <kugel@rockbox.org> | Wed Sep 23 16:59:56 2009 +0000 |
tree | 494dd606a51ad63132b5fdf19e4ddc12b552e45a | |
parent | fe4526e8682fe53a9c1eac422f8e9dd8224b8376 [diff] |
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