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