VMultiDllWrapper.JoystickReport.getJoystickXRaw C# (CSharp) Method

getJoystickXRaw() public method

public getJoystickXRaw ( ) : byte
return byte
        public byte getJoystickXRaw()
        {
            return (byte)(joystickX * 127);
        }

Usage Example

Beispiel #1
0
 public virtual bool updateJoystick(JoystickReport report)
 {
     if (connected)
     {
         return vmulti_update_joystick(vmulti, report.getButtonsRaw(), report.getPOVRaw(), report.getJoystickXRaw(), report.getJoystickYRaw(), 0, 128, 0);
     }
     else
     {
         return false;
     }
 }
All Usage Examples Of VMultiDllWrapper.JoystickReport::getJoystickXRaw