Setup the touchpads to have two modes - stylus and button - and set them in button...
commit11b979e4bcf7ae605fd374f9938a471cc8adfd4e
authorjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 15 Apr 2008 10:35:11 +0000 (15 10:35 +0000)
committerjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 15 Apr 2008 10:35:11 +0000 (15 10:35 +0000)
tree0bf60b83aad534757330162ad4f683f142955ccb
parentdb23da8c7208ff1628abf3fd87b8bce05e405edb
Setup the touchpads to have two modes - stylus and button - and set them in button mode by default.
in button mode the touchpad is split into a 3x3 grid for 9 seperate buttons which can be used by the action system like real buttons.
Unify the keymap file for the touchpads in button mode. the target keymap file only needs to worry about real buttons.
(As these ports mature each screen will need to be fixed seperatly to be able to use stylus mode (the lists can already but don't change mode just yet.)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17114 a1c6a512-1295-4272-9138-f99709370657
14 files changed:
apps/SOURCES
apps/action.h
apps/keymaps/keymap-cowond2.c
apps/keymaps/keymap-mr500.c
apps/keymaps/keymap-touchpad.c [new file with mode: 0644]
apps/main.c
bootloader/mrobe500.c
firmware/export/button.h
firmware/export/config-cowond2.h
firmware/target/arm/tcc780x/cowond2/button-target.h
firmware/target/arm/tms320dm320/mrobe-500/button-mr500.c
firmware/target/arm/tms320dm320/mrobe-500/button-target.h
uisimulator/sdl/button.c
uisimulator/sdl/uisdl.c