Hajime Hoshi
da5430e4b1
inpututil: Package inpututil is no longer experimental
2018-05-14 01:32:55 +09:00
Hajime Hoshi
59dc58a74c
inpututil: Bug fix: prevGamepadButtondDurations was not copied correctly
2018-05-11 02:45:09 +09:00
Hajime Hoshi
5677c8a916
inpututil: Bug fix: prevTouchDurations was not updated correctly
2018-05-11 01:44:29 +09:00
Hajime Hoshi
92631e64ed
Remove internal/sync
...
nosync package for GopherJS is problematic since nosync's mutex
assumes that Lock call is never duplicated, which is not true in
actual applications.
See also #603 .
2018-05-09 23:41:08 +09:00
Hajime Hoshi
fbeed96bb5
input: Add TouchIDs and TouchPosition ( #497 )
...
This change deprecates Touch interface and Touches function.
2018-05-07 00:31:46 +09:00
Hajime Hoshi
154d663d81
inpututil: Rename TouchDuration -> TouchPressDuration
2018-04-30 20:23:58 +09:00
Hajime Hoshi
db3effe65a
inpututil: Rename JustPressedTouches -> JustPressedTouchIDs
2018-04-30 20:07:27 +09:00
Hajime Hoshi
a355d701ad
inpututil: Replace JustDisconnectedGamepadIDs with IsGamepadJustDisconnected ( #505 )
2018-04-30 04:35:10 +09:00
Hajime Hoshi
c9a244f498
inpututil: Admit some functions to return nil
2018-04-30 03:03:12 +09:00
Hajime Hoshi
e33ca9a4c1
inpututil: Add comments
2018-04-30 02:52:56 +09:00
Hajime Hoshi
9d57350a42
inpututil: Add JustConnectedGamepadIDs / JustDisconnectedGamepadIDs
...
Fixes #505
2018-04-30 02:51:38 +09:00
Hajime Hoshi
7a94b49a33
inpututil: Make JustPressedTouches deterministic
2018-04-30 02:43:08 +09:00
Hajime Hoshi
8c258cce7d
inpututil: Rename states -> durations
2018-04-30 02:19:53 +09:00
Hajime Hoshi
f1fa8804d3
inpututil: Add JustPressedTouches and remove IsJustTouched
...
Fixes #576
2018-04-08 04:59:13 +09:00
Hajime Hoshi
1b0e71765f
internal/hooks: Rename Update -> BeforeUpdate
2018-03-15 02:50:10 +09:00
Hajime Hoshi
e7f1623001
inpututil: Bug fix: Init prevTouchStates
2018-02-17 04:07:16 +09:00
Hajime Hoshi
d3f573523a
inpututil: Add IsTouchJustReleased ( #504 )
2018-02-17 03:58:19 +09:00
Hajime Hoshi
debe4735cd
inpututil: Add IsGamepadButtonJustReleased ( #504 )
2018-02-17 03:52:05 +09:00
Hajime Hoshi
381aab0a91
inpututil: Add comments about concurrent safety
2018-02-17 03:12:58 +09:00
Hajime Hoshi
87f207d862
inpututil: Add IsKeyJustReleased and IsMouseButtonJustReleased ( #504 )
2018-02-17 03:10:53 +09:00
Hajime Hoshi
37b27d3a2d
inpututil: Bug fix: delete gamepad data that doesn't exist
2018-02-05 23:45:43 +09:00
Hajime Hoshi
21a83f5ace
inpututil: Bug fix: for-loop range was wrong ( #415 )
2018-02-04 23:18:09 +09:00
Hajime Hoshi
7aba5bd8d6
Add package inpututil ( #415 )
2018-02-04 17:51:03 +09:00