ebiten/internal
Hajime Hoshi e2f26b9dac internal/gamepad: ignore the very first MotionEvent with 0 value for Android
On Android, MotionEvent with 0 values might come for axes when connecting
a gamepad, even though a user didn't touch any axes. This is problematic
especially for tirgger axes, where the default value should be -1.

This change fixes the issue by adding a new state `axesReady` to check
if an axis is really touched or not. If an axis is not touched yet,
a button value for a standard (trigger) button always returns 0.

This change also removes an old hack to initialize axis values for
triggers.

Closes #2598
2024-03-21 22:48:33 +09:00
..
affine internal/affine: refactoring: use slices instead of array pointers 2022-09-30 22:20:32 +09:00
atlas internal/graphics: enable to specify regions for each source image 2023-08-27 21:15:01 +09:00
buffered internal/buffered: bug fix: enable TestGC again 2023-10-10 03:29:20 +09:00
builtinshader internal/builtinshader: bug fix: wrong blending rate 2023-08-31 15:11:37 +09:00
cglfw internal/glfw, interna/cglfw, internal/goglfw: add MousePassthrough 2023-09-18 18:31:22 +09:00
clock all: update URLs in comments 2022-11-21 01:46:50 +09:00
cocoa all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
debug internal/debug: bug fix: add SwitchLogger to dump logs for each frame correctly 2023-08-26 03:38:37 +09:00
devicescale internal/devicescale: use a slice instead of a map 2023-08-20 05:00:46 +09:00
file ebiten: implement DroppedFiles to replace AppendDroppedFiles 2023-01-25 14:27:11 +09:00
gamepad internal/gamepad: ignore the very first MotionEvent with 0 value for Android 2024-03-21 22:48:33 +09:00
gamepaddb internal/gamepad: ignore the very first MotionEvent with 0 value for Android 2024-03-21 22:48:33 +09:00
glfw internal/glfw, interna/cglfw, internal/goglfw: add MousePassthrough 2023-09-18 18:31:22 +09:00
goglfw internal/ui: bug fix: SetWindowIcon(nil) didn't reset the window icon 2023-09-30 02:51:23 +09:00
graphics internal/graphics: deprecated some built-in functions 2023-08-29 00:06:54 +09:00
graphicscommand internal/graphicscommand: bug fix: Flush didn't return error when sync=false 2023-11-15 00:14:42 +09:00
graphicsdriver internal/graphicsdriver/directx: bug fix: Go 1.22 + 32bit Windows + DirectX 12 didn't work well 2024-01-27 18:13:14 +09:00
hooks internal/hooks: Enable to return error at suspend/resume audio 2021-05-04 23:09:01 +09:00
jsutil all: fix typos (#2558) 2023-01-28 19:06:38 +09:00
microsoftgdk internal/microsoftgdk: improve forward compatibility 2022-12-25 22:00:22 +09:00
mipmap internal/graphics: enable to specify regions for each source image 2023-08-27 21:15:01 +09:00
packing internal/packing: refactoring: use image.Rectangle 2023-04-27 23:45:57 +09:00
png go generate 2023-03-15 03:18:28 +09:00
processtest internal/processtest: suppress issue2475 test for Windows 2023-09-23 00:19:12 +09:00
restorable internal/restorable: use clearImage to clear a region 2023-08-31 23:32:54 +09:00
shader internal/shader: bug fix: variables in an index should be marked as used 2023-11-19 15:19:48 +09:00
shaderir internal/shaderir: refactoring 2023-09-13 03:25:42 +09:00
testing internal/shader: use plural forms for Kage compiler directives 2023-08-01 11:41:38 +09:00
thread internal/graphicsdriver: flush commands asynchronously whenever possible 2023-07-30 22:44:13 +09:00
ui internal/ui: bug fix: need to sleep when swapping buffers is skipped 2024-01-24 12:21:08 +09:00
vibrate all: remove old // +build comments (#2431) 2022-11-03 12:55:14 +09:00
winver internal/goglfw: separate the Windows version detection to a new package winver 2023-03-31 02:16:01 +09:00