Hajime Hoshi
|
d1b9a0a9a1
|
internal/ui: freeze the input state for each frame
After this change, the input APIs will return more consistent results
for one frame.
Closes #2496
|
2022-12-18 23:54:43 +09:00 |
|
Hajime Hoshi
|
4de2dc0240
|
Add input package
|
2018-04-01 23:20:45 +09:00 |
|
Hajime Hoshi
|
cc423c276d
|
ui: Avoid creating empty slice at Touches
|
2018-02-12 20:23:24 +09:00 |
|
Hajime Hoshi
|
7d9b901ab3
|
ui: Avoid creating empty slice at GamepadIDs
|
2018-02-12 20:20:39 +09:00 |
|
Hajime Hoshi
|
7bcc9ee79f
|
ui: Add GamepadIDs and remove IsGamepadPresent (#447)
|
2017-10-26 23:59:09 +09:00 |
|
Hajime Hoshi
|
600baf2cc7
|
ui: Add IsGamepadPresent
Fixes #447
|
2017-10-26 02:59:33 +09:00 |
|
Hajime Hoshi
|
ba204c6d3b
|
ui: Adjust cursor positoin on fullscreen mode (#374)
|
2017-07-01 04:27:38 +09:00 |
|
Hajime Hoshi
|
4e22bd770f
|
ui: Remove Input interface and remove locks on browsers to improve performance (#346)
|
2017-04-28 23:45:01 +09:00 |
|
Hajime Hoshi
|
187a93d80a
|
ui: Bug fix: IsKeyPressed might return a wrong value when only one of Shift/Ctrl/Alt keys is pressed
|
2017-04-11 11:56:05 +09:00 |
|
Hajime Hoshi
|
583fc07f3a
|
input: Fix compile error
|
2016-05-29 22:15:28 +09:00 |
|
Hajime Hoshi
|
05104744d3
|
input: Bug fix: Touches requries lock
|
2016-05-29 22:13:42 +09:00 |
|
Hajime Hoshi
|
bdaff72af9
|
input: Implement Touches function (WIP) (#101)
|
2016-05-27 01:31:30 +09:00 |
|
Hajime Hoshi
|
c36dd3df52
|
ui: Change Input to be an interface
|
2016-05-20 00:15:05 +09:00 |
|
Hajime Hoshi
|
6ac6b8e7c0
|
input: Make functions goroutine-safe (#192)
|
2016-03-24 23:51:20 +09:00 |
|
Hajime Hoshi
|
a500d3a3f8
|
Improve example/gamepad
|
2015-01-12 13:33:21 +09:00 |
|
Hajime Hoshi
|
a6b7eab71b
|
Add Gamepad API
|
2015-01-12 02:29:56 +09:00 |
|
Hajime Hoshi
|
bc26690b14
|
Add genkey.go
|
2015-01-07 03:05:59 +09:00 |
|
Hajime Hoshi
|
c98631a703
|
Add input_glfw.go; Rename ui.go -> ui_glfw.go
|
2015-01-06 21:54:42 +09:00 |
|
Hajime Hoshi
|
47227139db
|
Implement keyboard events for js
|
2015-01-03 00:52:49 +09:00 |
|
Hajime Hoshi
|
cadb3fffdf
|
Add ui_js.go and input_js.go
|
2015-01-02 15:20:05 +09:00 |
|
Hajime Hoshi
|
c95390801a
|
Add keys.go
|
2015-01-02 03:29:51 +09:00 |
|
Hajime Hoshi
|
3d01084a2a
|
Hide structs in internal/ui
|
2015-01-02 03:25:31 +09:00 |
|
Hajime Hoshi
|
a9e323d02c
|
Rename input -> Input
|
2015-01-02 02:44:00 +09:00 |
|
Hajime Hoshi
|
96f5315c49
|
Add internal/ui module
|
2015-01-02 02:13:27 +09:00 |
|