Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: question about x5 buttons

Re: question about x5 buttons

From: Jens Arnold <arnold-j_at_t-online.de>
Date: Sun, 15 Oct 2006 23:52:37 +0200

On 15.10.2006, Max Weninger wrote:

> But I was not able to define a valid button context
> that works on the "real target" only on the simulator

> e.g. I added the following to keymap-x5.c to the
> button_context_wps ...
> { ACTION_WPS_ABSETB_NEXTDIR, BUTTON_REC|BUTTON_RIGHT,
> BUTTON_NONE },
> { ACTION_WPS_ABSETA_PREVDIR, BUTTON_REC|BUTTON_LEFT,
> BUTTON_NONE }, ...

> So rec+left should set tha A point and rec+right the B point.

> With this AB repeat works fine on the simulator but not on the
> real target. It seems that never both simultaious button
> keypress events where delivered.

The X5 button hardware doesn't allow any button combo to be
detected except combos where one of the buttons is POWER, but
such combos would be more than cumbersome, and highly illocical.

Regards, Jens
Received on 2006-10-15

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy