Comment 2 for bug 1803001

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

This was delayed for a long time, but I just published some revisions to the fsm branch which include a solution for this feature request.

There are two #defines:

- B_TIMING_ON
- B_TIMING_OFF

And there are three values they can be set to:

- B_PRESS_T - respond when button is pressed
- B_RELEASE_T - respond when button is released
- B_TIMEOUT_T - respond when event times out (when sure the user isn't going to double click)

Each timing option only has two usable values right now though... for on, it can respond at press or release. Almost nobody seems to want the timeout mode. And for off, it can respond at release or timeout... almost nobody seems to want the press mode.

The default values right now are release-on and timeout-off. A lot of people seem to like release-on more than press-on, so I changed the default even though I kinda prefer press-on.

So this is released. I still need to do something with the PWM table compression though, since that can probably save some significant space and space is becoming a bit of an issue again.