diff options
author | William Wilgus <me.theuser@yahoo.com> | 2017-09-26 16:32:07 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-11-18 16:08:07 +0100 |
commit | b10c0e5b903b0124f4996f68f2433c2b8419d753 (patch) | |
tree | d4d04c983f5ced9e6ca09a6d8bef7bd431762af1 /firmware/SOURCES | |
parent | ff08c5287dda0ecedba22e8d71d9d75ed3b36342 (diff) | |
download | rockbox-b10c0e5b903b0124f4996f68f2433c2b8419d753.tar.gz rockbox-b10c0e5b903b0124f4996f68f2433c2b8419d753.zip |
Action.c FIX / Rework / Clean-up Action System
FIX - softlock not allowing power button to shutdown device when active
FIX - autolock not working unless Selective backlight enabled
Rework - get_action_worker split into more managable chunks
Rework - moved all static variables to a single struct action_last
to be passed through all internal functions
Rework - current action state moved to struct action_current
to be initialized at each get_action /get_action_custom call
Rework - action lookup in button maps changed slightly to prefer fully formed actions
rather than blindly returning action with BUTTON_NONE as pre_button
this should allow actions defined in keymaps positional independence
Rework / Clean-up - moved conditionals on internal functions to inside the functions
-Allows much cleaner code & empty functions should be optimized
out by compiler
Rework / Clean-up - softlock and backlight exemptions code
Clean-up - remove a lot of (now) unused defines
Clean-up - organize / move all exported functions to their own section in the file
Comments added to all internal functions to better explain their purpose
Change-Id: I0ac02d1a2b45826843611513fea3c20a819d2fed
Diffstat (limited to 'firmware/SOURCES')
0 files changed, 0 insertions, 0 deletions