Commit Graph

400 Commits (4ae75d1d20e6b3ef1de43cab5f9f29d281865af5)

Author SHA1 Message Date
Capostrophic 41f89c84f8 Don't move the player if opposite direction keys are held down at the same time (Fixes #4233) 7 years ago
scrawl f28024b541
Don't use Activate and Move keys for GUI navigation if bound to mouse buttons (Fixes #4225, Fixes #4320) 7 years ago
scrawl 83726ee06a
Fix Reset Controls button not functioning properly 7 years ago
Andrei Kortunov dba071f881 Remove the 'Screenshot saved' message (bug #4191) 7 years ago
Andrei Kortunov dea7d0beff Do not interrupt swim and sneak idle animations during attack (bug #4122) 7 years ago
scrawl f1aeb416ec Disable Activate key when textinput is active (Bug #4151) 7 years ago
scrawl 1afbf99f74 Make movement keys not function in text input mode 7 years ago
scrawl 548e90a7bc Set cursor active when moving by controller 7 years ago
scrawl cd437f094d Fix exiting savegamedialog with 'esc' when no game is running 7 years ago
scrawl 0240a6c38b Fix controls window regression 7 years ago
scrawl 74e806d974 Additionally use movement keys (default WASD) to navigate GUI buttons 7 years ago
scrawl fce9a14986 Hide the mouse cursor until it's used 7 years ago
scrawl 09e93319f5 Restrict the 'fake mouse movement' workaround to where it's actually required (Fixes #3978) 7 years ago
scrawl ad8d0c5302 Use keypad to control the camera 7 years ago
scrawl ca3b08b852 Make Activate key accept GUI buttons 7 years ago
scrawl 9ed1b16553 Extend code that detects whether a key was consumed by the GUI (Fixes #4016) 7 years ago
scrawl ad4b91131f toggleGui renamed to toggleHud, remove unused variable 7 years ago
scrawl 20766fb508 Associate open/close sounds with the GUI mode 7 years ago
scrawl 531e7ac586 Allow drag-and-drop to be cancelled (Esc or Inventory key) 7 years ago
scrawl c11fe6788f Add basic keyboard navigation for the GUI
(Shift)Tab cycles, arrow keys move to the next button in that direction, Enter/Space accepts.

Note: Unless MyGUI is hacked to bits, clicking on an empty space will annoyingly reset the key focus. Not sure how to deal with that yet.

The visual highlight for selected buttons requires MyGUI commit 632d007429d0bf0c7d7f6c5db4a08353a63dd839 or later to appear (to be released in 3.2.3).
7 years ago
scrawl e7ad012977 Pass repeat key events to the GUI
For example, one can scroll to the last element in a list by holding down the 'Down Arrow' key.
7 years ago
Andrei Kortunov a5b01fefec Allow to interrupt an attack, if attack button is held 7 years ago
Andrei Kortunov fb45995a41 Do not allow player to change weapon/spell during attack or spellcasting (bug #2445) 7 years ago
Andrei Kortunov 23bda7613b Do not allow to use journal in a main menu (bug #3991) 8 years ago
Andrei Kortunov 54b4d93f79 Added a special function for GUI sounds playing 8 years ago
scrawl 8d17565efd Fix joystick binding for an action being discarded when default for another action is loaded (Bug #3900) 8 years ago
scrawl 903e59f495 Don't reset idle time when there is no camera movement (Fixes #3902) 8 years ago
scrawl 44e2089098 Don't play 'menu click' sound for right clicks (Fixes #3919) 8 years ago
Bret Curtis d48b829b45 replace and purge boost::lexical_cast 8 years ago
Andrei Kortunov 658ab5e941 Minor journal improvements 8 years ago
scrawl 7eb48ea83b Don't wrap mouse to window bounds when the gamepad axis did not move and fix off-by-one error 8 years ago
scrawl 2776727794 Allow gamepad and mouse/keyboard to be used at the same time (Fixes #3093) 8 years ago
scrawl e7b6ea4e3f Add cycle weapon/spell actions to the list of controller actions (Fixes #3613) 8 years ago
MiroslavR 301dd77efb Save controls state (Fixes #3598) 8 years ago
scrawl f417d7780a Fix the enemy nearby check (Bug #3423) 9 years ago
scrawl 7a962fd8c5 Properly escape the keybinding labels (Bug #3281)
A certain key name ("#") was being interpreted as a MyGUI markup code.
9 years ago
scrawl 53334d08a2 Disable Ready Magic and Cycle Weapon/Spell hotkeys for werewolves (Fixes #3100) 9 years ago
scrawl a8c287c831 Print detected game controllers to the log file 9 years ago
scrawl 3fe38e3556 Remove unused setting 9 years ago
scrawl 0ec56d321a Remove unneeded using namespace 9 years ago
scrawl 05498ad592 Refactor: InputManager no longer depends on Engine 9 years ago
scrawl a47617c21f Fix tab indentations in apps/ and components/ 9 years ago
scrawl d11952c48a Stop rendering when the window is minimized 9 years ago
dteviot 77a1d947cc extracted MWMechanics::getPlayer() 10 years ago
Rohit Nirmal d9b11f963a Gamepad: Slow down simulated mouse with right trigger
in menus.
10 years ago
scrawl 6691891bee Include cleanup 10 years ago
scrawl a1432b0255 Move attackingOrSpell flag to the CharacterController 10 years ago
scrawl 15453e3d90 Use MyGUI::UString for unicode conversion 10 years ago
scrawl da24e298ee Fix -Wreorder warnings 10 years ago
scrawl 49df07ea7f Implement UI scaling factor 10 years ago