logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct HidAccessDeniedInfo

    Details of a controller whose raw HID node could not be opened, so its LED / vibration / adaptive triggers cannot be driven. On Linux this almost always means the /dev/hidrawN node is still root-only because the udev rules are not installed on the player's machine (see UdevRulesRelativePath); it can also mean the pad was unplugged.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Feedback.Infrastructure.Hid
    Assembly: Serenity.UnityFeedback.Infrastructure.dll
    Syntax
    public readonly struct HidAccessDeniedInfo

    Constructors

    HidAccessDeniedInfo(string, string, string)

    Declaration
    public HidAccessDeniedInfo(string deviceName, string serial, string udevRulesFile)
    Parameters
    Type Name Description
    string deviceName
    string serial
    string udevRulesFile

    Fields

    DeviceName

    The controller's display name (as Unity/SDL reports it), for a player-facing message.

    Declaration
    public readonly string DeviceName
    Field Value
    Type Description
    string

    Serial

    The controller's serial, when known; null otherwise.

    Declaration
    public readonly string Serial
    Field Value
    Type Description
    string

    UdevRulesFile

    Path (relative to the project/package) of the bundled udev rules the host needs.

    Declaration
    public readonly string UdevRulesFile
    Field Value
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved