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 година |
Jonne Nauha
|
7fee7f7cb5
Input: Notify Graphics subsystem about SDL window moved event.
|
пре 11 година |
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 година |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
пре 11 година |
Aster@中国上海
|
b25b44abe7
Fix warning.
|
пре 11 година |
Lasse Öörni
|
8b5d884f3c
Allow triggering mouse button presses from a screen joystick while using touch emulation.
|
пре 11 година |
Lasse Öörni
|
6b7f1d842c
Added functions to remove one recorded touch gesture, or all touch gestures.
|
пре 11 година |
Lasse Öörni
|
76a7a60918
Expose touchedElement of TouchState to Lua, and to AngelScript as an ordinary handle to simplify code. Closes #342.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
b86b325864
Remove extra semi colon. [ci skip]
|
пре 11 година |
Lasse Öörni
|
42c5c3981d
Remove redundant check from Input code.
|
пре 11 година |
Lasse Öörni
|
cbf91aaa8a
Add touch emulation stationary fingers for multi-gestures by pressing down other mouse buttons than the left.
|
пре 11 година |
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 година |
Lasse Öörni
|
a317c48beb
Initial touch emulation.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
153906b8c7
Add mouse grabbed flag to Input subsystem.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
dfe4caf3d6
Add logic to suppress zoom when multi-touching screen joystick buttons.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
125000454c
Refactor samples to use patched screen joystick layout. Closes #321.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
265f9ceefc
Minor clean up on Input class and NinjaSnowWar demo.
|
пре 11 година |
Lasse Öörni
|
955a8bb34e
Joystick refactoring after merging the joystick pull request from thebluefish.
|
пре 11 година |
thebluefish
|
1ba75f5222
Resolved virtual joystick support
|
пре 11 година |
thebluefish
|
33240a260a
Fixed lua bindings
|
пре 11 година |
thebluefish
|
2c4fd8192e
Fixed joystick support
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
ac81ae1c7f
Fix static key binding map population for screen joystick.
|
пре 11 година |
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 година |
Yao Wei Tjong 姚伟忠
|
a38433b0aa
Clean up hats' key binding code for screen joystick.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
79cdbabb55
Add abilility to use key mapping also for hats on screen joystick.
|
пре 11 година |
aster
|
e0737e6c46
Replace Char event with TextInput event for CJK IME support.
|
пре 11 година |
Lasse Öörni
|
9906e7ed25
Gesture recording/load/save support and gesture events. SDL fixes to gesture events. Closes #304.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
c78f34d5ca
Improve the hats response on screen joystick (in joystick event mode).
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
1518c332c1
Add user customizable screen joystick for mobile platforms.
|
пре 11 година |
Lasse Öörni
|
1d9d0a5736
Synchronize keycode constants with SDL. This changes some constants, like NUMPAD -> KP_. Added SDL scancode constants. Added polling of keys by scancodes, and scancodes into key events. Added conversion functions from keycode to scancode and vice versa, and functions to get key names. Closes #254.
|
пре 11 година |