as3-controller-input icon indicating copy to clipboard operation
as3-controller-input copied to clipboard

Not working with Logitech F310 gamepad

Open angelhdzmultimedia opened this issue 7 years ago • 0 comments

Hello there,

I just tried your library and I didn't get it to work with my Logitech F310 gamepad with none of the Xbox360Controller, OuyaController or GameController classes. Using AIR 28.0 SDK.

This is my code:

	var xbox:Xbox360Controller;
	trace("App Started");
	ControllerInput.initialize(stage);
		
	if (ControllerInput.hasReadyController()) {
	    xbox = ControllerInput.getReadyController() as Xbox360Controller;

	    if (xbox.a.pressed){
	        trace("A is pressed: " +xbox.a.pressed);
	    } 
	}

No success. Do I need to configure something else? Or is my controller not compatible with your library? Thank you.

P.S: I also have a WeTek Android gamepad compatible with PC via micro-USB. Will try later.

angelhdzmultimedia avatar Aug 18 '18 04:08 angelhdzmultimedia