Skip to main content
SirRookie
Inspiring
August 17, 2021
Question

Gaming Input on Ship Console not working properly

  • August 17, 2021
  • 1 reply
  • 2071 views

Hi i just bought the Ship Console and plugged it in my Windows USB.

In Animate i use the GamingInput  API

 

public var gameInput:GameInput = new GameInput();

myDevice = GameInput.getDeviceAt(0);
myDevice.enabled = true; 

 

The Ship console is detected and i can also check how much controls it has supported

 

so i trace through all controls in an ENTER_FRAME to see if it is working

for (var i:int = 0; i < myDevice.numControls-1 ; i++) {
var cont = myDevice.getControlAt(i)
trace(i+":" + cont.value + " Name:" + cont.id )
}

 

And it works, every button, also the Steering Wheel works

But, and what  is frustrating me is:

The Ship Consiole has two throttles for steering boats with two engines.

 

When i try the trottles the values on my output are not changing at all. The rest of the Ship console, every single Button is working also the steering is working .

 

Here is a picture of the ship console

and here is a picture from the trace output. So i am lost as everything works except these 2 throttles.

And in windows the two throttles works. I can see it in the properties of the Throttle where you can test the ship simulator.

 

You see that there are 40 controls

 

Please help.

Michael

 

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    August 17, 2021

    that looks like 26 buttons, a rudder and two engine controls. what's causing the discrepancy?

    SirRookie
    SirRookieAuthor
    Inspiring
    August 17, 2021

    I dont know maybe ther are internal 40 but ob the Device itself only 26 are used. 

     

    kglad
    Community Expert
    Community Expert
    August 26, 2021

    Ok i made a loop and i controlled in the debugger every control.

    They all have the same metods and variables.

    The producer of the STICK said, that they have Axis_6 and Axis_7 for the trottles, but Adobe is obnly showing until Axis_5. So can it be that thewre is a mailfunction inn the driver ? or Firmware of the joystick ?

    so i checked all 41 controls like this.

     


    why do they all have value 0? 

     

    during testing did you move your rudder off the zero mark?  did you move your throttles off the zero mark?