rockbox/firmware/target/arm
Jean-Louis Biasini df6eb82f51 touch devices: Disable touch on softlock.
Target that have a touchpad/touchscreen should disable it while
being locked (In order to avoid LCD to drain battery power due to
"key locked" constant reporting messages. If they a have a keylock
button this was already handled at driver level. If not (e.g. fuze+),
they will have to implement a switch at driver level that action.c
can operate on softlock.
This patch does the following for any target having a touchpad
or a touchscreen and no HAS_BUTTON_HOLD (ie any softlock target)
1) it implements the code to call button_enable_touch(bool en) in
action.c.
2) button_enable_touch is implemented in button.c and call
either touchpad_enable or touchscreen_enable
3) those two function are implemented respectively in touchscreen.c
and a new touchpad.c file. They provide a generic way to silents touch's
device and call a function at driver level where target specific code
can be implemented if possible/needed (for power saving for instance).
Those function name are touchpad_enable_device and touchscreen_enable_device
4) we implement an empty function at driver level of targets that need it
to have them still being able to compiled.

Change-Id: I9ead78a25bd33466a8533f5b9f259b395cb5ce49
Reviewed-on: http://gerrit.rockbox.org/569
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-09-05 20:02:07 +02:00
..
archos/av300 button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
as3525 Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
at91sam remove debug-target.h 2012-05-07 00:55:59 -04:00
imx31 Get rid of usb_drv_attach() from USB code. 2013-05-14 22:13:38 -04:00
imx233 touch devices: Disable touch on softlock. 2013-09-05 20:02:07 +02:00
ipod Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
iriver Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
olympus Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
pbell Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
philips Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
pnx0101 Remove data_abort_handler from ARM crt0 files. 2013-05-24 02:02:04 +02:00
pp Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
rk27xx Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
s3c2440 Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
s5l8700 Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
s5l8702 Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
samsung Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
sandisk Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
tatung Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
tcc77x remove debug-target.h 2012-05-07 00:55:59 -04:00
tcc780x Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
tms320dm320 Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
ata-as-arm.S
ata-nand-telechips.c Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
bits-armv4.S Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
bits-armv6.S Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
crt0.S arm: factor all exception handlers out of the crt0.S files 2012-04-06 13:46:32 +02:00
i2c-telechips.c
lcd-c200_c200v2.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-ssd1815.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
mmu-arm.h Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
mmu-arm.S imx233: define HAVE_TEST_AND_CLEAN_CACHE 2012-06-07 14:48:43 +02:00
mmu-armv6.S Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
pcm-telechips.c Fix errors in unintentionally merged gerrit commit. 2012-03-03 01:45:09 -05:00
powermgmt-ascodec.c AMSv2: add proper definitions for charge current 2012-03-04 12:23:05 +01:00
system-arm.c Restore backtrace which was accidentely commented out 2012-05-19 16:55:07 +02:00
system-arm.h Create fimrware/asm directory for assembly optimized stuff. 2012-01-22 18:46:44 +01:00
usb-drv-arc.c Get rid of usb_drv_attach() from USB code. 2013-05-14 22:13:38 -04:00
usb-s3c6400x.c usb-s3c6400: merge the 2 drivers 2012-04-28 16:01:57 -04:00
usb-tcc.c usb-target.h: remove 2011-12-31 18:44:55 +00:00
wmcodec-telechips.c