ebiten/internal
Hajime Hoshi 59295cc85f internal/ui: bug fix: input state should be reset for each tick, not frame
Before this change, input states were reset for each frame. When FPS
is bigger than TPS, the input state was reset more often than expected
and then some inputs were missing.

This change fixes the issue by resetting input states not for each frame
but for each tick.

This change also updates some comments of the input API.

Updates #2496
Closes #2501
2022-12-20 10:07:19 +09:00
..
affine internal/affine: refactoring: use slices instead of array pointers 2022-09-30 22:20:32 +09:00
atlas internal/graphics: use flatten []float32 slice instead of [][]float32 2022-12-03 20:23:58 +09:00
buffered ebiten: performance improvement by reducing allocations of []float32 2022-12-03 21:53:56 +09:00
builtinshader internal/builtinshader: fix comments 2022-10-10 13:14:37 +09:00
clock all: update URLs in comments 2022-11-21 01:46:50 +09:00
cocoa internal/ui: bug fix: FPS drop on fullscreen on macOS 13 2022-12-16 02:59:06 +09:00
debug all: replace interface{} with any (#2430) 2022-11-03 15:33:09 +09:00
devicescale internal/glfw: do not panic for an error at Monitor.GetContentScale 2022-12-08 13:39:19 +09:00
gamepad internal/gamepad: use RegisterLibFunc (#2465) 2022-11-21 00:24:27 +09:00
gamepaddb internal/gamepaddb: update gamepad db 2022-12-12 02:50:58 +09:00
glfw internal/glfw: do not panic for an error at Monitor.GetContentScale 2022-12-08 13:39:19 +09:00
glfwwin internal/glfwwin: ignore an error ERROR_SUCCESS for all Windows APIs 2022-12-08 12:33:52 +09:00
graphics all: speed optimization 2022-12-03 23:09:41 +09:00
graphicscommand internal/graphicscommand: remove unnecessary type parameters 2022-12-10 00:43:41 +09:00
graphicsdriver internal/graphicsdriver/directx: change the default feature level to 11_0 2022-12-07 21:16:47 +09:00
hooks internal/hooks: Enable to return error at suspend/resume audio 2021-05-04 23:09:01 +09:00
jsutil all: allow integer uniform variables for Kage shaders 2022-11-13 01:49:24 +09:00
microsoftgdk internal/graphicsdriver/directx: bug fix: wrong SDK version for Xbox One 2022-11-05 02:31:28 +09:00
mipmap internal/graphics: use flatten []float32 slice instead of [][]float32 2022-12-03 20:23:58 +09:00
nintendosdk all: remove old // +build comments (#2431) 2022-11-03 12:55:14 +09:00
packing internal/packing: bug fix: wrong logic for extending a page 2022-11-12 17:42:17 +09:00
png all: remove old // +build comments (#2431) 2022-11-03 12:55:14 +09:00
processtest all: replace interface{} with any (#2430) 2022-11-03 15:33:09 +09:00
restorable ebiten: performance improvement by reducing allocations of []float32 2022-12-03 21:53:56 +09:00
shader all: update URLs in comments 2022-11-21 01:46:50 +09:00
shaderir all: speed optimization 2022-12-03 23:09:41 +09:00
testing internal/testing: add the default exit code 1 2022-10-02 18:16:16 +09:00
thread replace Ebiten with Ebitengine in comments 2022-08-29 11:17:17 +09:00
ui internal/ui: bug fix: input state should be reset for each tick, not frame 2022-12-20 10:07:19 +09:00
vibrate all: remove old // +build comments (#2431) 2022-11-03 12:55:14 +09:00