P
PieBaron
Guest
I bought a Zero Delay arcade encoder so I can play my game with some big buttons.. but after running this code from the help file, it apparently isn't detected?
gp[0] = 0;
var gp_num = gamepad_get_device_count();
for (var i = 0; i < gp_num; i++
{
if gamepad_is_connected(i) gp = true else gp = false;
log("gp: " , gp)
}
in console I get this:
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
Here is a link to the device:
http://www.ebay.co.uk/itm/Zero-Dela...for-MAME-2Pin-Happ-Push-Buttons-/252531159695
Does anyone have any suggestions? is there a different method to detect input for a device like this?
Windows has detected the device as Generic USB joystick but it doesnt have calibration settings or anything like that.
here is an image on how I have wired it up:
https://dl.dropboxusercontent.com/u/24304389/controllerSetup.jpg
gp[0] = 0;
var gp_num = gamepad_get_device_count();
for (var i = 0; i < gp_num; i++
{
if gamepad_is_connected(i) gp = true else gp = false;
log("gp: " , gp)
}
in console I get this:
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
gp: , 0
Here is a link to the device:
http://www.ebay.co.uk/itm/Zero-Dela...for-MAME-2Pin-Happ-Push-Buttons-/252531159695
Does anyone have any suggestions? is there a different method to detect input for a device like this?
Windows has detected the device as Generic USB joystick but it doesnt have calibration settings or anything like that.
here is an image on how I have wired it up:
https://dl.dropboxusercontent.com/u/24304389/controllerSetup.jpg