mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-10 13:51:53 +09:00
controller getaxisraw, calibration on startup
This commit is contained in:
@@ -36,7 +36,7 @@ class XinputControllerAdapter(val c: XInputDevice): TerrarumController {
|
||||
return false
|
||||
}
|
||||
|
||||
override fun getAxis(index: Int): Float {
|
||||
override fun getAxisRaw(index: Int): Float {
|
||||
if (c.poll()) {
|
||||
val axes = c.components.axes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user