Commit Graph

50 Commits

Author SHA1 Message Date
adelikat 35e19a3bc5 Controller Config - Rip out conflicts display for now since it doesn't work right, and looks confusing, and slows things down 2013-10-11 15:41:11 +00:00
adelikat 0c2851e34f Input Widgets - some tweaks/optimizatons and general code cleanup in an attempt to make it feel less laggy when autotabbing, still some work to be done 2013-10-10 01:53:18 +00:00
adelikat 311cea39e4 Hotkeys - fix bug where bindings could be lost on save, also clean up the InputWidget code some 2013-08-04 20:21:58 +00:00
adelikat 23de20a5b8 new hotkey system, including new hotkey dialog, things are now done dynamically. Still some todos, also this is a config breaking check in, please delete your existing config before using 2013-08-04 16:47:54 +00:00
adelikat 09320dc319 Input Widget - fix so that clearing the textbox will also change the bg color properly (remove conflicted state) 2013-07-29 20:18:38 +00:00
adelikat 444a417712 Controller Config - respect autotab being off 2013-07-28 21:54:42 +00:00
adelikat fc484df925 Controller Config - show conflicts with in a particular controller itself 2012-12-04 23:12:04 +00:00
adelikat 99c7c132f1 Input Config - backend for supporting showing conflicts, rip out old inputwidget conflict code in favor of a simpler design 2012-12-04 21:47:07 +00:00
zeromus 9053ac5b67 refine input event system and binding logic to allow more natural use of modifier keys as hotkeys 2012-11-09 20:03:59 +00:00
adelikat 6e7a906cf5 Controller Config - some tweaks, but input widgets aren't working, dont' know why 2012-10-01 01:55:08 +00:00
adelikat e2a7fd0655 Input Config - clear mappings context menu 2012-09-17 22:43:42 +00:00
adelikat f9b392511b Input Widget - clear out conflict colors when clearing out the widget with escape 2012-09-17 02:20:01 +00:00
andres.delikat 1460f7b860 Input Config - show when a button mapping conflicts with a hotkey mapping (but still allow it) 2012-09-10 17:49:33 +00:00
adelikat f7addb3419 Hotkey Dialog - fix tab orders, Hotkey/Input config - change highlighted color to light blue instead of red as that is a more logical highlight color 2012-09-10 04:11:17 +00:00
andres.delikat 4b074b7d26 Fix so that dialogs that use InputWidget can still close with Alt+F4 2012-01-08 23:01:14 +00:00
andres.delikat b78202a4c6 Fix input widget so that when auto-tab is off, escape still immediately updates the text 2011-07-23 19:43:08 +00:00
andres.delikat f3e4cdcd16 Rip out "wasPressed" code, remove debug code left in by accident from inputwidget 2011-07-09 23:35:26 +00:00
andres.delikat 1e59c2f530 Input Widget - add in FlagDuplicate() and UnflagDuplicate() in preparations for a "Show duplicates" option in input config & map hotkeys 2011-07-09 23:03:42 +00:00
andres.delikat 521b2ccfd6 InputWidget - MouseWheel increment/decrements 2011-07-09 22:22:45 +00:00
zeromus 9355bc0f2e redo some of client input and hotkey handling 2011-07-09 22:09:39 +00:00
andres.delikat 003b7ebebf Input Widget - left click = focus() only, disable all other mouse events 2011-07-09 22:07:13 +00:00
andres.delikat 9419e02091 InputWidget - hide caret, increment even on duplicate (just don't overwrite anything), don't highlight text on focus 2011-07-09 21:55:14 +00:00
andres.delikat 3e87c297fc Input widget - fix behavior of TAB key 2011-07-09 21:10:40 +00:00
andres.delikat 0407bb2e86 Input widget - Check for duplicates in binding array before committing a mapping 2011-07-09 18:24:53 +00:00
andres.delikat b1e1fa498c Input Widget - when autotab is off, cycle through the key mappings instead 2011-07-09 17:50:52 +00:00
andres.delikat 6949a8dd59 InputWidget overhaul to use the new GetPressedKeys() function. InputWidget no longer wipes all mappings. In autotab mode it replaces the first key mapping instead of all. There is now a max number of bindings of 4 (but changeable). Still has some quirks to work out like Alt+F4 no longer closes the dialog, and TAB has weird behavior. Also, need to implement non-autotab handling. Reworked Hotkey config to use this inputwidget, but not inputconfig yet 2011-07-09 16:12:56 +00:00
beirich 2cbc50143f Input update... always run directinput in background input mode, we take care of ignoring input when application isn't focused ourselves 2011-07-08 05:15:28 +00:00
andres.delikat 1056dbe9b1 Input Widget - proof of concept of using a Timer inside the widget to call GetPressedKeys(). Currently this function is always returning null, however. 2011-07-07 16:48:29 +00:00
andres.delikat ec2969cc73 Input Widget - Do "Ctrl+X" not "Ctrl + X" 2011-07-06 23:15:58 +00:00
andres.delikat 1ac29f3c5d Input Widget - prevent mapping to Alt+F4 and allow parent dialog to be closed by it 2011-07-05 01:48:48 +00:00
andres.delikat 02e562825e Input Widget - auto tab parameter, hotkey config - a auto-tab setting (on by default). If off, the focused widget will stay focused after a binding, another key pressed will rebind the same key 2011-07-04 23:02:37 +00:00
andres.delikat e4a112c220 Hotkeys/Input - Use Ctrl for display instead of Control 2011-06-21 01:22:27 +00:00
andres.delikat 30296e4f5b Don't distinguish between left & right shift/alt/control! 2011-06-20 02:24:41 +00:00
andres.delikat 0e36c7d401 Input Widget - allow mapping to just ctrl, alt, or shift 2011-06-19 03:35:57 +00:00
andres.delikat 3a8721f600 Input Config - fix so that multiple mappings are at least displayed again 2011-06-19 02:55:15 +00:00
andres.delikat 47ebedb40c Input Config - fix anchoring of L+R checkbox, Input Widget - fix ToString method so things like Ctrl+UpArrow doesn't break 2011-06-19 02:17:27 +00:00
andres.delikat c94662ce00 Fix comma mapping for input/hotkey config, make TI83 buttons remappable. TODO: find bit that maps to APPS button in TI83.cs 2011-04-24 16:57:43 +00:00
andres.delikat f0636a86ef Fix TI83 buttons to all have default mappings, but currently not remappable. Fix InputWidget to properly handle most every special key (converting from Windows naming to Slimdx naming) 2011-04-24 13:26:26 +00:00
andres.delikat b79d179760 Hook up TI83 to controller config + snazzy "controller" image 2011-04-24 02:01:36 +00:00
andres.delikat cb6e6d2d13 Fix so that Number pad keys can be mapped to hotkeys & controllers without crashing 2011-04-23 20:59:07 +00:00
andres.delikat ca1ad67f8e Fix so that users can at least map to left shift, control, and alt. Currently right is not possible to map. 2011-04-17 18:06:10 +00:00
andres.delikat ac7f43304f Input Widget - check string length before attempting to check for "oem", fixes crash made by my last fix 2011-03-01 14:03:15 +00:00
andres.delikat 6165efd43b Input Widget - hacky fix, Remove "Oem" from any key binding it receives. Things like period & comma can be mapped to controllers now 2011-03-01 04:37:42 +00:00
andres.delikat da61223e15 Input Widget - disable context menu 2011-02-23 23:39:36 +00:00
andres.delikat 7293d8749e Input Widget - fix so that Tab can be assigned to a widget properly 2011-02-23 21:30:11 +00:00
andres.delikat 6ebca99cd5 InputWidget (For Hotkey & Input dialogs) - After key event, automatically tab to the next control. Also, fix so display is "Shift + X" not "Shift+X" 2011-02-23 18:12:19 +00:00
kylethomson 36a81e6ac4 Restored Default keys, also, InputWidget no longer accepts tab, but accepts everything else. Tab code was commented out. 2011-02-20 03:51:18 +00:00
kylethomson 643efb2caa This disable everything but Tab, but its the only way I found to stop from Tabbing away. Need help. 2011-02-20 03:39:47 +00:00
kylethomson bb10d36b73 InputWidget now clears on Escape 2011-02-20 03:06:06 +00:00
zeromus 4fd27db1b2 stub of an InputWidget 2011-01-30 23:06:43 +00:00