Rockbox

Tasklist

FS#12029 - SDL_PAD keymaps for plugins on SDLAPP build without TOUCHSCREEN

Attached to Project: Rockbox
Opened by Don Heyse (dheyse) - Friday, 25 March 2011, 20:58 GMT
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Operating System Generic RaaA
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

If you build RaaA for SDL with HAVE_TOUCHSCREEN disabled there are no key bindings for the SDL_PAD in any of the plugins. This patch attempts to define generic key mappings for the 3x3 number pad on a typical PC keyboard. It needs work however. For instance, after a bit of testing I decided I'd prefer not to wait for a key repeat on the HOME button to quit most of the plugins. That said, it may prove a useful starting point developers building for RaaA platforms without a mouse or touchscreen. (Like me with the zipit.)

For the Zipit I plan to fix up the generic SDL keys first, testing on a real PC, and then try and figure out a way to use most of them as is. I'm not sure yet if it makes sense to define a ZIPIT_PAD for the few plugins where alternative keys make sense, or use some other #ifdef.
This task depends upon

Loading...