glfw mac osx joystick
Monkey Forums/Monkey Bug Reports/glfw mac osx joystick
| ||
Hi, Has this ever worked? the latest GLFW 2.7.6 says they've added this now, and earlier monkey did not seem to work in a simple monkey example (Print JoyX()). My first attempt at updating GLFW got an error about the joystick api not being referenced. "__glfwInitJoysticks in cocoa_joystick.o" |
| ||
yup, the lastest GLFW 2.7.6 will fix this, but: OSX compiler needs "-framework IOKit" ...and line 784 in lib/cocoa/cocoa_window.m: #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 if( wndconfig->glMajor > 2 ) { ADD_ATTR2( NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core ); } #endif /*MAC_OS_X_VERSION_MAX_ALLOWED*/ does NOT COMPILE for my mac mini that only has intel950 graphics. (OSX 10.7.3, xcode 4.3.1) perhaps I need xcode 4.4 for this? In my mind, it should work, since I don't need opengl3, i just commented it out and all was swell. |