Lasse Öörni
|
c7b07bdb10
supress -> suppress
|
vor 11 Jahren |
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).
|
vor 11 Jahren |
Lasse Öörni
|
7a55b3b977
Merge remote-tracking branch 'hdunderscore/Input_MouseCursorRecall'
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
hdunderscore
|
55921e14fd
- Updated documentation for Input mouse modes.
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
hdunderscore
|
c293f170ed
Initial implementation of two extra mouse modes:
|
vor 11 Jahren |
Jonne Nauha
|
7fee7f7cb5
Input: Notify Graphics subsystem about SDL window moved event.
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
vor 11 Jahren |
Aster@中国上海
|
b25b44abe7
Fix warning.
|
vor 11 Jahren |
Lasse Öörni
|
8b5d884f3c
Allow triggering mouse button presses from a screen joystick while using touch emulation.
|
vor 11 Jahren |
Lasse Öörni
|
6b7f1d842c
Added functions to remove one recorded touch gesture, or all touch gestures.
|
vor 11 Jahren |
Lasse Öörni
|
76a7a60918
Expose touchedElement of TouchState to Lua, and to AngelScript as an ordinary handle to simplify code. Closes #342.
|
vor 11 Jahren |
Yao Wei Tjong 姚伟忠
|
b86b325864
Remove extra semi colon. [ci skip]
|
vor 11 Jahren |
Lasse Öörni
|
42c5c3981d
Remove redundant check from Input code.
|
vor 11 Jahren |
Lasse Öörni
|
cbf91aaa8a
Add touch emulation stationary fingers for multi-gestures by pressing down other mouse buttons than the left.
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
Lasse Öörni
|
a317c48beb
Initial touch emulation.
|
vor 11 Jahren |
Yao Wei Tjong 姚伟忠
|
153906b8c7
Add mouse grabbed flag to Input subsystem.
|
vor 11 Jahren |
Yao Wei Tjong 姚伟忠
|
dfe4caf3d6
Add logic to suppress zoom when multi-touching screen joystick buttons.
|
vor 11 Jahren |
Yao Wei Tjong 姚伟忠
|
125000454c
Refactor samples to use patched screen joystick layout. Closes #321.
|
vor 11 Jahren |
Yao Wei Tjong 姚伟忠
|
265f9ceefc
Minor clean up on Input class and NinjaSnowWar demo.
|
vor 11 Jahren |
Lasse Öörni
|
955a8bb34e
Joystick refactoring after merging the joystick pull request from thebluefish.
|
vor 11 Jahren |
thebluefish
|
1ba75f5222
Resolved virtual joystick support
|
vor 11 Jahren |
thebluefish
|
33240a260a
Fixed lua bindings
|
vor 11 Jahren |
thebluefish
|
2c4fd8192e
Fixed joystick support
|
vor 11 Jahren |
Yao Wei Tjong 姚伟忠
|
ac81ae1c7f
Fix static key binding map population for screen joystick.
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
Yao Wei Tjong 姚伟忠
|
a38433b0aa
Clean up hats' key binding code for screen joystick.
|
vor 11 Jahren |