aboutsummaryrefslogtreecommitdiff
path: root/backends/keymapper
AgeCommit message (Collapse)Author
2020-01-04GUI: Introduce dynamic layoutsBastien Bouclet
Prior to this change, a GUI layout was only affected by the screen size. Now, a layout can additionally be influenced by the GUI dialog and widgets that uses it. This capability is leveraged to implement the following features: * Layout elements that are not bound to a GUI widget do not take space. This means that dialogs where the widgets shown depend on for example a feature being enabled at configure time no longer have blank spaces. * Widgets can define a minimal required size for their contents not to be cut. For now this is only used for buttons so their width is always sufficient for their caption not to be cut. This mechanism could be applied to other widget types in the future.
2018-01-27GUI: Remove Dialog::markAsDirty to expose full GUI redrawsBastien Bouclet
2018-01-27GUI: Implement dirty-checking for widget redrawsBastien Bouclet
2014-10-26KEYMAPPER: Fix off-by-one error with keymapper action namesEugene Sandulenko
2014-02-20KEYMAPPER: Have clicking on another remap button disable remappingMatthew Hoops
Prevents the remapping code from being activated twice (throwing an assertion)
2014-02-18KEYMAPPER: Make GPL headers consistent in themselves.Johannes Schickel
2013-06-06ALL: Fix typo (succesful -> successful)Willem Jan Palenstijn
Thanks to 'onlyjob' on pull request #337 for pointing out an instance of this.
2012-03-02KEYMAPPER: Add delays for *UP events coming from non-keysTarek Soliman
Delayed entries are in a queue where each entry stores how many milliseconds should pass based on the last entry.
2012-03-02KEYMAPPER: Map non-key custom input eventsTarek Soliman
This also makes the keymapper be in charge of keymapping logic
2012-03-02KEYMAPPER: Add non-key inputs to HardwareInputTarek Soliman
2012-02-28KEYMAPPER: HardwareInputSet now has defaultsTarek Soliman
Ports can add additional special keys. SDL no longer carries the static tables. Default behavior unchanged: HardwareInputSet() still gives an empty one.
2012-02-28KEYMAPPER: Move HardwareInputSet implementation out of header fileTarek Soliman
2012-02-27KEYMAPPER: Rename HardwareKey to HardwareInputTarek Soliman
2012-02-22KEYMAPPER: Fix a signed/unsigned comparison warningTarek Soliman
2012-02-22KEYMAPPER: Change HardwareKey id to Common::StringTarek Soliman
2012-02-21KEYMAPPER: Clean up more dead codeTarek Soliman
More automapper related dead code
2012-02-21KEYMAPPER: Remove automapping dead codeTarek Soliman
2012-02-20KEYMAPPER: Add some commentsTarek Soliman
2012-02-20KEYMAPPER: Change how keymaps are displayed in the remap dialogTarek Soliman
This makes it so that there's 2 groups: 1 - The keymap stack 2 - The loaded keymaps The first group displays which keymaps are active and which keymaps are completely blocked due to an opaque keymap on top. The second group displays which loaded keymaps store their mappings globally and which ones store their mappings per-target.
2012-02-20KEYMAPPER: Rewrite the EventMapper APITarek Soliman
2012-02-20KEYMAPPER: EventMapper must now eat all eventsTarek Soliman
2012-02-15KEYMAPPER: Allow ports to define default Keymap Action bindingsTarek Soliman
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2012-02-15KEYMAPPER: Make some parameters constTarek Soliman
2012-02-12KEYMAPPER: Allow ports to define their own global keymapTarek Soliman
2012-02-12KEYMAPPER: Refactor HardwareKeySet generationTarek Soliman
2012-02-09KEYMAPPER: Fix re-selecting the top keymapTarek Soliman
Re-selecting the top entry would always populate the actions from the GUI keymap since it is the active keymap (the remap dialog itself is GUI) The top keymap was correct during RemapDialog::open() because the gui keymap had not been pushed to the stack yet.
2012-02-09KEYMAPPER: Display active keymap stack in remap dialog popup listTarek Soliman
This should make it clear what keymaps are on the stack and in what order. Also renamed the label of the top "special" entry in the list to "(Effective)" since it displays the top keymap's action and also displays reachable mapped actions from other active keymaps.
2012-02-05KEYMAPPER: Fix active keymap name displayed in remap dialogTarek Soliman
This workaround no longer applies and is in fact causing a bug in the name of active keymap
2012-02-04KEYMAPPER: Fix annoying debug messageTarek Soliman
2012-02-02KEYMAPPER: Handle EVENT_MAINMENU directlyTarek Soliman
2012-02-02KEYMAPPER: Allow simple events to be added to an ActionTarek Soliman
This also simplifies the Action code a little bit
2012-01-07KEYMAPPER: Add failsafe code for popping into Keymapper itselfTarek Soliman
Thanks LordHoto
2012-01-07KEYMAPPER: Constantify global keymap nameTarek Soliman
2012-01-07KEYMAPPER: Rename inherit flag to transparentTarek Soliman
Less confusing
2011-12-30KEYMAPPER: Remap dialog shows buttons before labelsTarek Soliman
2011-12-30KEYMAPPER: Use single column in remap dialogTarek Soliman
This is to allow for long labels like in the eob keymap
2011-12-30KEYMAPPER: Fix clear button behavior in remap dialogTarek Soliman
This is a regression from 1b11139dc53da2dc95f74eb19e3a903d7d786f84
2011-12-30KEYMAPPER: Simplify calling getKeymapTarek Soliman
2011-12-30COMMON: Perform some keymapper-related changes to the KeyState structFilippos Karapetis
The == operator in KeyState should not be checking for sticky modifier keys. This allows the keymapper's defined actions to function correctly in desktop platforms, when sticky modifier keys such as caps lock and num lock are turned on. Also, added some sanity checks to hasFlags() and enums for sticky and non-sticky keys
2011-12-30KEYMAPPER: Use hasFlags() in findHardwareKey()Filippos Karapetis
2011-12-30KEYMAPPER: Disable the (accidentally reenabled automatic mapper againFilippos Karapetis
2011-12-30KEYMAPPER: Fix broken implementation of findHardwareKey()Filippos Karapetis
This fixes the keymapper dialog (at least on desktop platforms), but the keymapper itself is still not working (tested with LoL)
2011-12-13KEYMAPPER: Switch to using addClearButton()Tarek Soliman
2011-12-12KEYMAPPER: Add Common::KeyActionEntry for making simple keymap tablesTarek Soliman
2011-11-02Revert "KEYMAPPER: Make global keymap that is always active"Tarek Soliman
This reverts commit ac85d134b31f770f27d085c0fe4c307e278c1875.
2011-10-28KEYMAPPER: Improved clear buttonTarek Soliman
It uses the fancy new kImageEraser now
2011-10-28KEYMAPPER: Add tooltip text for clear buttonsTarek Soliman
2011-10-27KEYMAPPER: Only skip the top GUI keymap when populating the active keymapTarek Soliman
This is because the top GUI keymap is for the keymapper dialog itself. If all GUI keymaps are skipped then when inside a game with the GMM displayed and the keymapper dialog invoked, the game keymap is displayed even though it is not the active one.