Commit Graph

15 Commits

Author SHA1 Message Date
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