813f77dc0a
The node for the swipe event. Input parameters: - Time - duration of the swipe (default value 0.15 s); - Min Length (px) - the minimum length that the swipe must “pass” (default value 100 px). Output parameters: - Direction - normalized vector of the swipe direction; - Length (px) - the length of the swipe (to assess the “strength”); The Length output parameter is calculated by the vector value (without normalization) to relate to the input value. - Angle (0-360) - swipe angle in the range from 0 to 360 degrees (0 is on the right, i.e. Vector (1, 0) = 0 degrees). - States are states with direction output (Up, Down …). By default, they are not displayed, but if you press “Add 4 State”, then 4 states will appear (Up, Down, Left, Right) and if again, then 8 states will already be displayed. Determining direction for a state: for 4 directions - "circle" is divided into 4 segments of 90 degrees; for 8 directions - "circle" is divided into 8 segments of 45 degrees. |
||
---|---|---|
.. | ||
__init__.py | ||
LN_gamepad.py | ||
LN_gamepad_coords.py | ||
LN_get_mouse_lock.py | ||
LN_get_mouse_visible.py | ||
LN_keyboard.py | ||
LN_mouse.py | ||
LN_mouse_coords.py | ||
LN_on_gamepad.py | ||
LN_on_keyboard.py | ||
LN_on_mouse.py | ||
LN_on_surface.py | ||
LN_on_swipe.py | ||
LN_on_virtual_button.py | ||
LN_sensor_coords.py | ||
LN_set_mouse_lock.py | ||
LN_show_mouse.py | ||
LN_surface.py | ||
LN_surface_coords.py | ||
LN_virtual_button.py |