Lasse Öörni
|
c7b07bdb10
supress -> suppress
|
11 lat temu |
hdunderscore
|
17118be70f
Input::SetMouseMode and Console::SetVisible were keeping track of last mouse visible independently, which could cause mouse to become trapped in editor (eg: drag slider + open console + press escape).
|
11 lat temu |
Lasse Öörni
|
7a55b3b977
Merge remote-tracking branch 'hdunderscore/Input_MouseCursorRecall'
|
11 lat temu |
Lasse Öörni
|
50eb143319
Fix consistency in touch hover touch ID. Fix returning touch IDs as available. When resetting touches, reset the touch ID mapping also. In UIDrag example, show the actual touch ID's instead of indices, to verify that the ID's stay consistent. Fix UIDrag Lua example erroneously modifying the TouchState's position.
|
11 lat temu |
hdunderscore
|
55921e14fd
- Updated documentation for Input mouse modes.
|
11 lat temu |
hdunderscore
|
b49e0c2a5d
Moved the SDL touch ID -> Urho touch ID logic from UI to Input, so that querying Input/TouchState should give you a touch index that will always be consistent (between TouchDown and TouchUp events) and start from 1.
|
11 lat temu |
hdunderscore
|
c293f170ed
Initial implementation of two extra mouse modes:
|
11 lat temu |
Jonne Nauha
|
7fee7f7cb5
Input: Notify Graphics subsystem about SDL window moved event.
|
11 lat temu |
hdunderscore
|
d6e63013a2
SDL_FINGERMOTION was sometimes creating a new entry in touches_, after SDL_FINGERUP removed it. This made it difficult to work with touch emulation.
|
11 lat temu |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
11 lat temu |
Aster@中国上海
|
b25b44abe7
Fix warning.
|
11 lat temu |
Lasse Öörni
|
8b5d884f3c
Allow triggering mouse button presses from a screen joystick while using touch emulation.
|
11 lat temu |
Lasse Öörni
|
6b7f1d842c
Added functions to remove one recorded touch gesture, or all touch gestures.
|
11 lat temu |
Lasse Öörni
|
76a7a60918
Expose touchedElement of TouchState to Lua, and to AngelScript as an ordinary handle to simplify code. Closes #342.
|
11 lat temu |
Yao Wei Tjong 姚伟忠
|
b86b325864
Remove extra semi colon. [ci skip]
|
11 lat temu |
Lasse Öörni
|
42c5c3981d
Remove redundant check from Input code.
|
11 lat temu |
Lasse Öörni
|
cbf91aaa8a
Add touch emulation stationary fingers for multi-gestures by pressing down other mouse buttons than the left.
|
11 lat temu |
Lasse Öörni
|
179faa674e
Reset screen joystick buttons/axes on initialization. Do not send mouse events from a screen joystick under touch emulation, as those would be re-interpreted as further touch events. Minor Input code cleanup.
|
11 lat temu |
Lasse Öörni
|
a317c48beb
Initial touch emulation.
|
11 lat temu |
Yao Wei Tjong 姚伟忠
|
153906b8c7
Add mouse grabbed flag to Input subsystem.
|
11 lat temu |
Yao Wei Tjong 姚伟忠
|
dfe4caf3d6
Add logic to suppress zoom when multi-touching screen joystick buttons.
|
11 lat temu |
Yao Wei Tjong 姚伟忠
|
125000454c
Refactor samples to use patched screen joystick layout. Closes #321.
|
11 lat temu |
Yao Wei Tjong 姚伟忠
|
265f9ceefc
Minor clean up on Input class and NinjaSnowWar demo.
|
11 lat temu |
Lasse Öörni
|
955a8bb34e
Joystick refactoring after merging the joystick pull request from thebluefish.
|
11 lat temu |
thebluefish
|
1ba75f5222
Resolved virtual joystick support
|
11 lat temu |
thebluefish
|
33240a260a
Fixed lua bindings
|
11 lat temu |
thebluefish
|
2c4fd8192e
Fixed joystick support
|
11 lat temu |
Yao Wei Tjong 姚伟忠
|
ac81ae1c7f
Fix static key binding map population for screen joystick.
|
11 lat temu |
Lasse Öörni
|
7289f4be7a
NinjaSnowWar: when the console is visible, do not react to any controls. When OS mouse cursor changes from visible to hidden, center it to avoid erratic mouse move on the next frame.
|
11 lat temu |
Yao Wei Tjong 姚伟忠
|
a38433b0aa
Clean up hats' key binding code for screen joystick.
|
11 lat temu |