Commit Graph

44 Commits

Author SHA1 Message Date
Hajime Hoshi
60e9ff35b2 go generate
Updates #2025
2022-03-24 02:42:52 +09:00
Kacper Drobny
de8c02a00f
ebiten: add missing backward compatibility Add key (#2024)
Closes #2025
2022-03-24 02:41:24 +09:00
Hajime Hoshi
80c03792cb internal/driver: move the key definitions to internal/ui
Updates #1983
2022-02-06 19:14:18 +09:00
Hajime Hoshi
67bb58849e internal/uidriver/mobile: add build tags 2022-02-06 15:59:05 +09:00
Hajime Hoshi
061614080a ebiten: fix comments 2021-12-19 23:58:55 +09:00
Hajime Hoshi
6bc22d4587 Unify 'deprecated' comment formats 2021-07-10 03:19:23 +09:00
Hajime Hoshi
4398a5e227 ebiten: Change the key name convention to follow the Web standard
Closes #1394
2021-04-14 22:49:07 +09:00
Hajime Hoshi
45f10f134f ebiten: Add Key{Left,Right}{Alt,Control,Shift,Super}
Closes #1561
2021-04-10 19:59:34 +09:00
Hajime Hoshi
5ee3fdf628 ebiten: Add KeySuper
Fixes #1382
2020-10-11 18:40:40 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Hajime Hoshi
682f454fc2 input: Refactoring: Rename variables 2020-02-19 10:52:58 +09:00
Hajime Hoshi
83b2d4b112 input: driver.Key now distinguishes left/right modifier keys
This is a preparation for event package, that will have key enum.

Updates #926
2019-09-01 23:49:00 +09:00
Hajime Hoshi
7dca1889a1 input: Move Key to driver package 2019-03-30 23:39:56 +09:00
Hajime Hoshi
177f4c5108 docs: Remove some redundant comments 2018-04-28 03:40:59 +09:00
Jake Bentvelzen
2f4ca72dbd input: Add Pause and Print Screen buttons (#555)
Fixes #579
2018-04-21 09:36:28 -07:00
Hajime Hoshi
3fa2beb502 Fix the do-not-edit comment https://golang.org/s/generatedcode 2018-04-20 00:54:33 -07:00
Hajime Hoshi
fac7651152 examples/keyboard: Show other keys than 'keyboard' keys 2018-04-14 04:59:06 +09:00
Hajime Hoshi
d1ef57c280 input: Remove the last period from do-not-edit comment 2018-04-14 04:22:09 +09:00
Hajime Hoshi
95c4ce0ddc input: Add (Key).String() 2018-04-14 03:20:43 +09:00
Hajime Hoshi
61d4df0e04 input: Add numpad keys for Edge (#580) 2018-04-14 02:43:31 +09:00
Hajime Hoshi
dd6110fbf8 input: Add KeyNumLock (#580) 2018-04-14 02:43:26 +09:00
Hajime Hoshi
5229e5a713 input: Add numpad keys except for Edge browser (#580) 2018-04-14 02:43:21 +09:00
Hajime Hoshi
888d650872 Add 'screenshot' feature
If you run your game with environment variable EBITEN_SCREENSHOT_KEY=<keyname>,
you can take a game screenshot by pressing the specified key.

Fixes #553
2018-04-11 01:00:22 +09:00
Hajime Hoshi
4de2dc0240 Add input package 2018-04-01 23:20:45 +09:00
Hajime Hoshi
ef5de62780 Follow the standard comment rule
See https://golang.org/s/generatedcode
2018-03-08 02:47:59 +09:00
Hajime Hoshi
a7fc463d91 doc: Improve comments 2017-10-01 03:15:50 +09:00
Hajime Hoshi
3bfb5054af Fix misspelling 2017-07-23 22:50:18 +09:00
Hajime Hoshi
95cb0133de ui: Add keys (#339) 2017-04-14 03:09:00 +09:00
Hajime Hoshi
12f14e5140 doc: Add comments for keys 2017-04-10 10:45:04 +09:00
Hajime Hoshi
730b0d5ff9 input: Add KeyMax 2016-09-03 15:28:37 +09:00
Hajime Hoshi
de1bb1b392 go generate 2016-08-27 00:50:26 +09:00
Hajime Hoshi
0083fe5df1 Changed the copyright year to 2013 (#216) 2016-05-14 00:20:27 +09:00
Hajime Hoshi
5687d9d0ef go generate 2016-02-11 03:53:36 +09:00
Hajime Hoshi
27cd0610d1 Add 'auto-generated' notices (#66) 2015-01-07 23:21:52 +09:00
Hajime Hoshi
4eaa16b8d1 Rename mod key names 2015-01-07 23:18:40 +09:00
Hajime Hoshi
9f40da41fc Add backspace (not tested) 2015-01-07 11:22:25 +09:00
Hajime Hoshi
62d1395670 Arrange key's order 2015-01-07 11:00:15 +09:00
Hajime Hoshi
bc26690b14 Add genkey.go 2015-01-07 03:05:59 +09:00
Hajime Hoshi
e604a969d4 Add mousebuttons.go 2015-01-07 01:04:13 +09:00
Hajime Hoshi
a9f1b4f0e9 Add keys_glfw.go and keys_js.go 2015-01-07 00:05:46 +09:00
Hajime Hoshi
96f5315c49 Add internal/ui module 2015-01-02 02:13:27 +09:00
Hajime Hoshi
373371d1b2 Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
Hajime Hoshi
ca5bd564a6 Add comments (to pass golint) 2014-12-14 22:05:44 +09:00
Hajime Hoshi
8319e0d41d Remove package glfw (once) 2014-12-14 17:00:11 +09:00