Skip to content

[Linux] SwitchProControllerHIDInputState could not be found #715

@JeromyStroh

Description

@JeromyStroh

On the develop branch I'm getting the following error on Linux:

Packages/com.unity.inputsystem/InputSystem/Plugins/Switch/NPad.cs(768,44): error CS0246: The type or namespace name 'SwitchProControllerHIDInputState' could not be found (are you missing a using directive or an assembly reference?)

This is due to:
#if UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_WSA

Should just be UNITY_STANDALONE instead of UNITY_STANDALONE_OSX | UNITY_STANDALONE_WIN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions