Commit graph

20 commits

Author SHA1 Message Date
Stephen Gutekanst
1cedf40671 glfw: make init inline
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 16:35:42 -07:00
Stephen Gutekanst
bda78aca74 glfw: add getVersionString
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 16:00:28 -07:00
Stephen Gutekanst
c1dcabb72b glfw: add initHint function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 15:50:35 -07:00
Stephen Gutekanst
2bb3b934e1 glfw: add terminate function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 15:24:45 -07:00
Stephen Gutekanst
f533747fa8 glfw: add init function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 15:07:06 -07:00
Stephen Gutekanst
4b5f94c4ea glfw: add C -> Zig error translation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 14:27:34 -07:00
Stephen Gutekanst
61eafbf69a glfw: add general constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 13:26:11 -07:00
Stephen Gutekanst
d0be590230 glfw: add gamepad button IDs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:31:53 -07:00
Stephen Gutekanst
98280d3be7 glfw: add gamepad axis
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:31:22 -07:00
Stephen Gutekanst
fcc289a0eb glfw: add joystick IDs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:24:08 -07:00
Stephen Gutekanst
3b2f39daaa glfw: add mouse button IDs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:20:32 -07:00
Stephen Gutekanst
a5cc868643 glfw: add modifier key flags
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:15:49 -07:00
Stephen Gutekanst
f8a6f2fd74 glfw: add keyboard key ID constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:11:12 -07:00
Stephen Gutekanst
73055427ad glfw: add joystick hat states
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:41:51 -07:00
Stephen Gutekanst
6308a2f8dd glfw: move constants into separate modules
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:34:18 -07:00
Stephen Gutekanst
166d621797 glfw: add key/button action constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:31:02 -07:00
Stephen Gutekanst
c0c7305738 glfw: add version constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:21:51 -07:00
Stephen Gutekanst
0a7e8d341c
CI: add macOS testing pipeline (#2)
* CI: add macOS testing pipeline
* glfw: use hidden window

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 10:57:37 -07:00
Stephen Gutekanst
bba27cf1aa glfw: macOS cross compilation with automatic setup
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 01:01:51 -07:00
Stephen Gutekanst
6e5ff09e55 glfw: add basic example, building+linking on macOS is working
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-06 20:53:10 -07:00