We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf73b40 commit 0452df6Copy full SHA for 0452df6
src/main/kotlin/uno/glfw/GlfwWindow.kt
@@ -11,6 +11,7 @@ import uno.buffer.destroyBuf
11
import uno.buffer.doubleBufferBig
12
import uno.buffer.intBufferBig
13
import java.nio.ByteBuffer
14
+import java.nio.FloatBuffer
15
16
/**
17
* Created by GBarbieri on 24.04.2017.
@@ -310,4 +311,5 @@ class GlfwWindow(val handle: Long) {
310
311
}
312
313
fun getJoystickButtons(joystickId: Int): ByteBuffer? = glfwGetJoystickButtons(joystickId)
314
+ fun getJoystickAxes(joystickId: Int): FloatBuffer? = glfwGetJoystickAxes(joystickId)
315
0 commit comments