diff --git a/Backends/Kinc-HL/kha/SystemImpl.hx b/Backends/Kinc-HL/kha/SystemImpl.hx index c8a43ad59..cf63a7d40 100644 --- a/Backends/Kinc-HL/kha/SystemImpl.hx +++ b/Backends/Kinc-HL/kha/SystemImpl.hx @@ -43,7 +43,7 @@ class SystemImpl { mouse = new kha.input.MouseImpl(); pen = new kha.input.Pen(); gamepads = new Array(); - for (i in 0...4) { + for (i in 0...8) { gamepads[i] = new kha.input.Gamepad(i); gamepads[i].connected = kinc_gamepad_connected(i); } diff --git a/Backends/Kinc-hxcpp/kha/SystemImpl.hx b/Backends/Kinc-hxcpp/kha/SystemImpl.hx index 59a9746c4..2963f0327 100644 --- a/Backends/Kinc-hxcpp/kha/SystemImpl.hx +++ b/Backends/Kinc-hxcpp/kha/SystemImpl.hx @@ -162,7 +162,7 @@ class SystemImpl { mouse = new kha.input.MouseImpl(); pen = new kha.input.Pen(); gamepads = new Array(); - for (i in 0...4) { + for (i in 0...8) { gamepads[i] = new Gamepad(i); gamepads[i].connected = checkGamepadConnected(i); } diff --git a/Backends/Krom/kha/SystemImpl.hx b/Backends/Krom/kha/SystemImpl.hx index 7fc3dc4d6..162ee198b 100644 --- a/Backends/Krom/kha/SystemImpl.hx +++ b/Backends/Krom/kha/SystemImpl.hx @@ -16,7 +16,7 @@ class SystemImpl { static var keyboard: Keyboard; static var mouse: Mouse; static var pen: Pen; - static var maxGamepads: Int = 4; + static var maxGamepads: Int = 8; static var gamepads: Array; static var mouseLockListeners: ArrayVoid> = [];