Commit graph

120 commits

Author SHA1 Message Date
Stephen Gutekanst
a7267d9acc glfw: add joystick hat states
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:41:51 -07:00
Stephen Gutekanst
33173940ef glfw: add top-level comments
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:36:31 -07:00
Stephen Gutekanst
09674bc655 glfw: move constants into separate modules
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:34:18 -07:00
Stephen Gutekanst
d4186e45e3 glfw: add key/button action constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:31:02 -07:00
Stephen Gutekanst
2faad21f70 glfw: add version constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:21:51 -07:00
Stephen Gutekanst
0565c326b4 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
f28f8ec253 glfw: handle windows \r\n in Apple SDK prompt
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
5ee5f14195 glfw: link libc
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
0e9c54e529 glfw: use cross-platform getEnvVarOwned
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
dac591b468 glfw: remove symlinks from SDKs (using them on windows is annoying)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-11 15:22:58 -07:00
Stephen Gutekanst
31604cae3f glfw: be sure to clone SDKs with symlinks
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 17:26:32 -07:00
Stephen Gutekanst
d3abf7babb glfw: correct Linux -> MacOS cross compilation (header includes)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 16:07:41 -07:00
Stephen Gutekanst
182030df2d glfw: fix -Dtarget=x86_64-macos compilation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 14:47:10 -07:00
Stephen Gutekanst
c5d8758588 glfw: build Linux sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 11:25:04 -07:00
Stephen Gutekanst
a5eadec686 glfw: tidy up Options struct
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 10:04:18 -07:00
Stephen Gutekanst
ef4e335ccd glfw: build windows sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-10 10:04:18 -07:00
Stephen Gutekanst
f9150de8d0 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
8421f21e3a 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
Stephen Gutekanst
71a7a090a1 glfw: add v3.3.4 sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-06 20:49:25 -07:00
Stephen Gutekanst
7de593a611 glfw: add script to fetch upstream sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-06 20:49:02 -07:00