Android.Views.InputDevice.ControllerNumber Property
The controller number for a given input device.

Syntax

[get: Android.Runtime.Register("getControllerNumber", "()I", "GetGetControllerNumberHandler")]
public int ControllerNumber { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The controller number for a given input device.

Each gamepad or joystick is given a unique, positive controller number when initially configured by the system. This number may change due to events such as device disconnects / reconnects or user initiated reassignment. Any change in number will trigger an event that can be observed by registering an NoType:android/hardware/input/InputManager$InputDeviceListener;Href=../../../reference/android/hardware/input/InputManager.InputDeviceListener.html.

All input devices which are not gamepads or joysticks will be assigned a controller number of 0.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9