InKryption
82c5079d1d
glfw: Update tests in all other files to reflect changes made to glfw.init
2021-11-10 11:42:24 -07:00
Stephen Gutekanst
18226db9fd
glfw: ziggify all Action enums
...
Make the GLFW action enumerations proper Zig enums so one can use `.Name` syntax, etc.
Helps #37
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-29 21:27:20 -07:00
Aksel Hjerpbakk
159bcb0255
glfw: enums ( #41 )
...
* move key values in an enum
* bitmask for key modifiers
* export Key type and move key fns
instead of exporting the key file, export Key enum.
functions related to the Key type are moved into the enum as well so that they get exported with the type
2021-10-24 06:23:20 -07:00
Stephen Gutekanst
1246f9453a
glfw: add glfw.key.getScancode
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-23 19:33:33 -07:00
Stephen Gutekanst
2f7098c9ad
glfw: add glfw.key.getName
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-23 19:33:33 -07:00
Stephen Gutekanst
7842241b13
glfw: correct C import
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-23 19:33:33 -07:00
Stephen Gutekanst
8d50b33c8a
glfw: move remaining input TODOs to final locations
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
a19f73f1e4
glfw: correct C key / C import conflict
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 15:07:26 -07:00
Stephen Gutekanst
c6916317e3
glfw: add mouse button IDs
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:20:32 -07:00
Stephen Gutekanst
0fe1a2f840
glfw: add keyboard key ID constants
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:11:12 -07:00