Setup the touchpads to have two modes - stylus and button - and set them in button...
commit5b5a626bb6ba54ccdcd90741cea5f9cbd0f79553
authorJonathan Gordon <rockbox@jdgordon.info>
Tue, 15 Apr 2008 10:35:11 +0000 (15 10:35 +0000)
committerJonathan Gordon <rockbox@jdgordon.info>
Tue, 15 Apr 2008 10:35:11 +0000 (15 10:35 +0000)
tree0bf60b83aad534757330162ad4f683f142955ccb
parent50851794a6bdd585ce70ecb430b1f798fb90936b
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