Skip to content

Track Studio Crashes when any Joystick emulator is installed such as JoytoKey #47

Description

@Momofier

Players may have these Set up for older games or for use of Steering wheels on PC Racing Games(That have no Steering wheel Support/ Controller Support).

This is the Crash Dump I get.

Specified argument was out of the range of valid values. (Parameter 'button')
at OpenTK.Input.JoystickState.SetButton(Int32 button, Boolean value)
at OpenTK.Platform.Windows.WinRawJoystick.Device.SetButton(Int16 collection, HIDPage page, Int16 usage, Boolean value)
at OpenTK.Platform.Windows.WinRawJoystick.QueryDeviceCaps(Device stick)
at OpenTK.Platform.Windows.WinRawJoystick.RefreshDevices()
at OpenTK.Platform.Windows.WinRawJoystick..ctor(IntPtr window)
at OpenTK.Platform.Windows.WinRawInput.CreateDrivers()
at OpenTK.Platform.Windows.WinInputBase.ProcessEvents()

Removing JoytoKey Fixes the problem however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions