S
Silverman71
Guest
Hi!
I'm doing some test-compilation on a Raspberry Pi 4 and Gamemaker.
Everything works fine except that when I run my game it detects all devices that are attached through USB on the Pi as gamepads.
I am adding a player object for every "gamepad detected" in Async-System as described here https://www.yoyogames.com/blog/75/coffee-break-tutorials-setting-up-and-using-gamepad
When I run the code on my PC I only get one player object but on the Raspberry I get 3 or more (Gamepad, Mouse, Keyboard).
Looking at the terminal window from where I start the game on the Raspberry I can see that it detects gamepads but also "guessing" that some devices aren't gamepads.
But (as far as I can see) there is no way for me to check in the code if the detected device in Async-System really is a gamepad or not.
Anyone got any ideas?
With kind regards
Mike
I'm doing some test-compilation on a Raspberry Pi 4 and Gamemaker.
Everything works fine except that when I run my game it detects all devices that are attached through USB on the Pi as gamepads.
I am adding a player object for every "gamepad detected" in Async-System as described here https://www.yoyogames.com/blog/75/coffee-break-tutorials-setting-up-and-using-gamepad
When I run the code on my PC I only get one player object but on the Raspberry I get 3 or more (Gamepad, Mouse, Keyboard).
Looking at the terminal window from where I start the game on the Raspberry I can see that it detects gamepads but also "guessing" that some devices aren't gamepads.
But (as far as I can see) there is no way for me to check in the code if the detected device in Async-System really is a gamepad or not.
Anyone got any ideas?
With kind regards
Mike