Versions in this module Expand all Collapse all v0 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorIInputDeviceBatteryListener + const DescriptorIInputDevicesChangedListener + const DescriptorIInputManager + const DescriptorIInputSensorEventListener + const DescriptorIKeyboardBacklightListener + const DescriptorIStickyModifierStateListener + const DescriptorITabletModeChangedListener + const MethodIInputDeviceBatteryListenerOnBatteryStateChanged + const MethodIInputDevicesChangedListenerOnInputDevicesChanged + const MethodIInputManagerAddKeyboardLayoutForInputDevice + const MethodIInputManagerAddPortAssociation + const MethodIInputManagerAddUniqueIdAssociation + const MethodIInputManagerCancelCurrentTouch + const MethodIInputManagerCancelVibrate + const MethodIInputManagerClearAllModifierKeyRemappings + const MethodIInputManagerCloseLightSession + const MethodIInputManagerDisableInputDevice + const MethodIInputManagerDisableSensor + const MethodIInputManagerEnableInputDevice + const MethodIInputManagerEnableSensor + const MethodIInputManagerFlushSensor + const MethodIInputManagerGetBatteryState + const MethodIInputManagerGetCurrentKeyboardLayoutForInputDevice + const MethodIInputManagerGetEnabledKeyboardLayoutsForInputDevice + const MethodIInputManagerGetHostUsiVersionFromDisplayConfig + const MethodIInputManagerGetInputDevice + const MethodIInputManagerGetInputDeviceBluetoothAddress + const MethodIInputManagerGetInputDeviceIds + const MethodIInputManagerGetKeyCharacterMap + const MethodIInputManagerGetKeyCodeForKeyLocation + const MethodIInputManagerGetKeyboardLayout + const MethodIInputManagerGetKeyboardLayoutForInputDevice + const MethodIInputManagerGetKeyboardLayoutListForInputDevice + const MethodIInputManagerGetKeyboardLayouts + const MethodIInputManagerGetKeyboardLayoutsForInputDevice + const MethodIInputManagerGetLightState + const MethodIInputManagerGetLights + const MethodIInputManagerGetModifierKeyRemapping + const MethodIInputManagerGetMousePointerSpeed + const MethodIInputManagerGetSensorList + const MethodIInputManagerGetTouchCalibrationForInputDevice + const MethodIInputManagerGetVelocityTrackerStrategy + const MethodIInputManagerGetVibratorIds + const MethodIInputManagerHasKeys + const MethodIInputManagerInjectInputEvent + const MethodIInputManagerInjectInputEventToTarget + const MethodIInputManagerIsInTabletMode + const MethodIInputManagerIsInputDeviceEnabled + const MethodIInputManagerIsMicMuted + const MethodIInputManagerIsVibrating + const MethodIInputManagerMonitorGestureInput + const MethodIInputManagerOpenLightSession + const MethodIInputManagerPilferPointers + const MethodIInputManagerRegisterBatteryListener + const MethodIInputManagerRegisterInputDevicesChangedListener + const MethodIInputManagerRegisterKeyboardBacklightListener + const MethodIInputManagerRegisterSensorListener + const MethodIInputManagerRegisterStickyModifierStateListener + const MethodIInputManagerRegisterTabletModeChangedListener + const MethodIInputManagerRegisterVibratorStateListener + const MethodIInputManagerRemapModifierKey + const MethodIInputManagerRemoveKeyboardLayoutForInputDevice + const MethodIInputManagerRemovePortAssociation + const MethodIInputManagerRemoveUniqueIdAssociation + const MethodIInputManagerRequestPointerCapture + const MethodIInputManagerSetCurrentKeyboardLayoutForInputDevice + const MethodIInputManagerSetCustomPointerIcon + const MethodIInputManagerSetKeyboardLayoutForInputDevice + const MethodIInputManagerSetLightStates + const MethodIInputManagerSetPointerIcon + const MethodIInputManagerSetPointerIconType + const MethodIInputManagerSetTouchCalibrationForInputDevice + const MethodIInputManagerTryPointerSpeed + const MethodIInputManagerUnregisterBatteryListener + const MethodIInputManagerUnregisterKeyboardBacklightListener + const MethodIInputManagerUnregisterSensorListener + const MethodIInputManagerUnregisterStickyModifierStateListener + const MethodIInputManagerUnregisterVibratorStateListener + const MethodIInputManagerVerifyInputEvent + const MethodIInputManagerVibrate + const MethodIInputManagerVibrateCombined + const MethodIInputSensorEventListenerOnInputSensorAccuracyChanged + const MethodIInputSensorEventListenerOnInputSensorChanged + const MethodIKeyboardBacklightListenerOnBrightnessChanged + const MethodIStickyModifierStateListenerOnStickyModifierStateChanged + const MethodITabletModeChangedListenerOnTabletModeChanged + const TransactionIInputDeviceBatteryListenerOnBatteryStateChanged + const TransactionIInputDevicesChangedListenerOnInputDevicesChanged + const TransactionIInputManagerAddKeyboardLayoutForInputDevice + const TransactionIInputManagerAddPortAssociation + const TransactionIInputManagerAddUniqueIdAssociation + const TransactionIInputManagerCancelCurrentTouch + const TransactionIInputManagerCancelVibrate + const TransactionIInputManagerClearAllModifierKeyRemappings + const TransactionIInputManagerCloseLightSession + const TransactionIInputManagerDisableInputDevice + const TransactionIInputManagerDisableSensor + const TransactionIInputManagerEnableInputDevice + const TransactionIInputManagerEnableSensor + const TransactionIInputManagerFlushSensor + const TransactionIInputManagerGetBatteryState + const TransactionIInputManagerGetCurrentKeyboardLayoutForInputDevice + const TransactionIInputManagerGetEnabledKeyboardLayoutsForInputDevice + const TransactionIInputManagerGetHostUsiVersionFromDisplayConfig + const TransactionIInputManagerGetInputDevice + const TransactionIInputManagerGetInputDeviceBluetoothAddress + const TransactionIInputManagerGetInputDeviceIds + const TransactionIInputManagerGetKeyCharacterMap + const TransactionIInputManagerGetKeyCodeForKeyLocation + const TransactionIInputManagerGetKeyboardLayout + const TransactionIInputManagerGetKeyboardLayoutForInputDevice + const TransactionIInputManagerGetKeyboardLayoutListForInputDevice + const TransactionIInputManagerGetKeyboardLayouts + const TransactionIInputManagerGetKeyboardLayoutsForInputDevice + const TransactionIInputManagerGetLightState + const TransactionIInputManagerGetLights + const TransactionIInputManagerGetModifierKeyRemapping + const TransactionIInputManagerGetMousePointerSpeed + const TransactionIInputManagerGetSensorList + const TransactionIInputManagerGetTouchCalibrationForInputDevice + const TransactionIInputManagerGetVelocityTrackerStrategy + const TransactionIInputManagerGetVibratorIds + const TransactionIInputManagerHasKeys + const TransactionIInputManagerInjectInputEvent + const TransactionIInputManagerInjectInputEventToTarget + const TransactionIInputManagerIsInTabletMode + const TransactionIInputManagerIsInputDeviceEnabled + const TransactionIInputManagerIsMicMuted + const TransactionIInputManagerIsVibrating + const TransactionIInputManagerMonitorGestureInput + const TransactionIInputManagerOpenLightSession + const TransactionIInputManagerPilferPointers + const TransactionIInputManagerRegisterBatteryListener + const TransactionIInputManagerRegisterInputDevicesChangedListener + const TransactionIInputManagerRegisterKeyboardBacklightListener + const TransactionIInputManagerRegisterSensorListener + const TransactionIInputManagerRegisterStickyModifierStateListener + const TransactionIInputManagerRegisterTabletModeChangedListener + const TransactionIInputManagerRegisterVibratorStateListener + const TransactionIInputManagerRemapModifierKey + const TransactionIInputManagerRemoveKeyboardLayoutForInputDevice + const TransactionIInputManagerRemovePortAssociation + const TransactionIInputManagerRemoveUniqueIdAssociation + const TransactionIInputManagerRequestPointerCapture + const TransactionIInputManagerSetCurrentKeyboardLayoutForInputDevice + const TransactionIInputManagerSetCustomPointerIcon + const TransactionIInputManagerSetKeyboardLayoutForInputDevice + const TransactionIInputManagerSetLightStates + const TransactionIInputManagerSetPointerIcon + const TransactionIInputManagerSetPointerIconType + const TransactionIInputManagerSetTouchCalibrationForInputDevice + const TransactionIInputManagerTryPointerSpeed + const TransactionIInputManagerUnregisterBatteryListener + const TransactionIInputManagerUnregisterKeyboardBacklightListener + const TransactionIInputManagerUnregisterSensorListener + const TransactionIInputManagerUnregisterStickyModifierStateListener + const TransactionIInputManagerUnregisterVibratorStateListener + const TransactionIInputManagerVerifyInputEvent + const TransactionIInputManagerVibrate + const TransactionIInputManagerVibrateCombined + const TransactionIInputSensorEventListenerOnInputSensorAccuracyChanged + const TransactionIInputSensorEventListenerOnInputSensorChanged + const TransactionIKeyboardBacklightListenerOnBrightnessChanged + const TransactionIStickyModifierStateListenerOnStickyModifierStateChanged + const TransactionITabletModeChangedListenerOnTabletModeChanged + type HostUsiVersion struct + MajorVersion int32 + MinorVersion int32 + func (s *HostUsiVersion) MarshalParcel(p *parcel.Parcel) error + func (s *HostUsiVersion) UnmarshalParcel(p *parcel.Parcel) error + type IInputDeviceBatteryListener interface + AsBinder func() binder.IBinder + OnBatteryStateChanged func(ctx context.Context, batteryState IInputDeviceBatteryState) error + func NewInputDeviceBatteryListenerStub(impl IInputDeviceBatteryListenerServer) IInputDeviceBatteryListener + type IInputDeviceBatteryListenerServer interface + OnBatteryStateChanged func(ctx context.Context, batteryState IInputDeviceBatteryState) error + type IInputDeviceBatteryState struct + Capacity float32 + DeviceId int32 + IsPresent bool + Status int32 + UpdateTime int64 + func (s *IInputDeviceBatteryState) MarshalParcel(p *parcel.Parcel) error + func (s *IInputDeviceBatteryState) UnmarshalParcel(p *parcel.Parcel) error + type IInputDevicesChangedListener interface + AsBinder func() binder.IBinder + OnInputDevicesChanged func(ctx context.Context, deviceIdAndGeneration []int32) error + func NewInputDevicesChangedListenerStub(impl IInputDevicesChangedListenerServer) IInputDevicesChangedListener + type IInputDevicesChangedListenerServer interface + OnInputDevicesChanged func(ctx context.Context, deviceIdAndGeneration []int32) error + type IInputManager interface + AddKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + AddPortAssociation func(ctx context.Context, inputPort string, displayPort int32) error + AddUniqueIdAssociation func(ctx context.Context, inputPort string, displayUniqueId string) error + AsBinder func() binder.IBinder + CancelCurrentTouch func(ctx context.Context) error + CancelVibrate func(ctx context.Context, deviceId int32, token binder.IBinder) error + ClearAllModifierKeyRemappings func(ctx context.Context) error + CloseLightSession func(ctx context.Context, deviceId int32, token binder.IBinder) error + DisableInputDevice func(ctx context.Context, deviceId int32) error + DisableSensor func(ctx context.Context, deviceId int32, sensorType int32) error + EnableInputDevice func(ctx context.Context, deviceId int32) error + EnableSensor func(ctx context.Context, deviceId int32, sensorType int32, samplingPeriodUs int32, ...) (bool, error) + FlushSensor func(ctx context.Context, deviceId int32, sensorType int32) (bool, error) + GetBatteryState func(ctx context.Context, deviceId int32) (IInputDeviceBatteryState, error) + GetCurrentKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier) (string, error) + GetEnabledKeyboardLayoutsForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier) ([]string, error) + GetHostUsiVersionFromDisplayConfig func(ctx context.Context, displayId int32) (HostUsiVersion, error) + GetInputDevice func(ctx context.Context, deviceId int32) (view.InputDevice, error) + GetInputDeviceBluetoothAddress func(ctx context.Context, deviceId int32) (string, error) + GetInputDeviceIds func(ctx context.Context) ([]int32, error) + GetKeyCharacterMap func(ctx context.Context, layoutDescriptor string) (view.KeyCharacterMap, error) + GetKeyCodeForKeyLocation func(ctx context.Context, deviceId int32, locationKeyCode int32) (int32, error) + GetKeyboardLayout func(ctx context.Context, keyboardLayoutDescriptor string) (KeyboardLayout, error) + GetKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) (KeyboardLayoutSelectionResult, error) + GetKeyboardLayoutListForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) ([]KeyboardLayout, error) + GetKeyboardLayouts func(ctx context.Context) ([]KeyboardLayout, error) + GetKeyboardLayoutsForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier) ([]KeyboardLayout, error) + GetLightState func(ctx context.Context, deviceId int32, lightId int32) (lights.LightState, error) + GetLights func(ctx context.Context, deviceId int32) ([]lights.Light, error) + GetModifierKeyRemapping func(ctx context.Context) (map[any]any, error) + GetMousePointerSpeed func(ctx context.Context) (int32, error) + GetSensorList func(ctx context.Context, deviceId int32) ([]InputSensorInfo, error) + GetTouchCalibrationForInputDevice func(ctx context.Context, inputDeviceDescriptor string, rotation int32) (TouchCalibration, error) + GetVelocityTrackerStrategy func(ctx context.Context) (string, error) + GetVibratorIds func(ctx context.Context, deviceId int32) ([]int32, error) + HasKeys func(ctx context.Context, deviceId int32, sourceMask int32, keyCodes []int32, ...) (bool, error) + InjectInputEvent func(ctx context.Context, ev view.InputEvent, mode int32) (bool, error) + InjectInputEventToTarget func(ctx context.Context, ev view.InputEvent, mode int32, targetUid int32) (bool, error) + IsInTabletMode func(ctx context.Context) (int32, error) + IsInputDeviceEnabled func(ctx context.Context, deviceId int32) (bool, error) + IsMicMuted func(ctx context.Context) (int32, error) + IsVibrating func(ctx context.Context, deviceId int32) (bool, error) + MonitorGestureInput func(ctx context.Context, token binder.IBinder, name string, displayId int32) (view.InputMonitor, error) + OpenLightSession func(ctx context.Context, deviceId int32, opPkg string, token binder.IBinder) error + PilferPointers func(ctx context.Context, inputChannelToken binder.IBinder) error + RegisterBatteryListener func(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error + RegisterInputDevicesChangedListener func(ctx context.Context, listener IInputDevicesChangedListener) error + RegisterKeyboardBacklightListener func(ctx context.Context, listener IKeyboardBacklightListener) error + RegisterSensorListener func(ctx context.Context, listener IInputSensorEventListener) (bool, error) + RegisterStickyModifierStateListener func(ctx context.Context, listener IStickyModifierStateListener) error + RegisterTabletModeChangedListener func(ctx context.Context, listener ITabletModeChangedListener) error + RegisterVibratorStateListener func(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error) + RemapModifierKey func(ctx context.Context, fromKey int32, toKey int32) error + RemoveKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + RemovePortAssociation func(ctx context.Context, inputPort string) error + RemoveUniqueIdAssociation func(ctx context.Context, inputPort string) error + RequestPointerCapture func(ctx context.Context, inputChannelToken binder.IBinder, enabled bool) error + SetCurrentKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + SetCustomPointerIcon func(ctx context.Context, icon view.PointerIcon) error + SetKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + SetLightStates func(ctx context.Context, deviceId int32, lightIds []int32, ...) error + SetPointerIcon func(ctx context.Context, icon view.PointerIcon, displayId int32, deviceId int32, ...) (bool, error) + SetPointerIconType func(ctx context.Context, typeId int32) error + SetTouchCalibrationForInputDevice func(ctx context.Context, inputDeviceDescriptor string, rotation int32, ...) error + TryPointerSpeed func(ctx context.Context, speed int32) error + UnregisterBatteryListener func(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error + UnregisterKeyboardBacklightListener func(ctx context.Context, listener IKeyboardBacklightListener) error + UnregisterSensorListener func(ctx context.Context, listener IInputSensorEventListener) error + UnregisterStickyModifierStateListener func(ctx context.Context, listener IStickyModifierStateListener) error + UnregisterVibratorStateListener func(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error) + VerifyInputEvent func(ctx context.Context, ev view.InputEvent) (view.VerifiedInputEvent, error) + Vibrate func(ctx context.Context, deviceId int32, effect os.VibrationEffect, ...) error + VibrateCombined func(ctx context.Context, deviceId int32, vibration os.CombinedVibration, ...) error + func NewInputManagerStub(impl IInputManagerServer) IInputManager + type IInputManagerServer interface + AddKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + AddPortAssociation func(ctx context.Context, inputPort string, displayPort int32) error + AddUniqueIdAssociation func(ctx context.Context, inputPort string, displayUniqueId string) error + CancelCurrentTouch func(ctx context.Context) error + CancelVibrate func(ctx context.Context, deviceId int32, token binder.IBinder) error + ClearAllModifierKeyRemappings func(ctx context.Context) error + CloseLightSession func(ctx context.Context, deviceId int32, token binder.IBinder) error + DisableInputDevice func(ctx context.Context, deviceId int32) error + DisableSensor func(ctx context.Context, deviceId int32, sensorType int32) error + EnableInputDevice func(ctx context.Context, deviceId int32) error + EnableSensor func(ctx context.Context, deviceId int32, sensorType int32, samplingPeriodUs int32, ...) (bool, error) + FlushSensor func(ctx context.Context, deviceId int32, sensorType int32) (bool, error) + GetBatteryState func(ctx context.Context, deviceId int32) (IInputDeviceBatteryState, error) + GetCurrentKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier) (string, error) + GetEnabledKeyboardLayoutsForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier) ([]string, error) + GetHostUsiVersionFromDisplayConfig func(ctx context.Context, displayId int32) (HostUsiVersion, error) + GetInputDevice func(ctx context.Context, deviceId int32) (view.InputDevice, error) + GetInputDeviceBluetoothAddress func(ctx context.Context, deviceId int32) (string, error) + GetInputDeviceIds func(ctx context.Context) ([]int32, error) + GetKeyCharacterMap func(ctx context.Context, layoutDescriptor string) (view.KeyCharacterMap, error) + GetKeyCodeForKeyLocation func(ctx context.Context, deviceId int32, locationKeyCode int32) (int32, error) + GetKeyboardLayout func(ctx context.Context, keyboardLayoutDescriptor string) (KeyboardLayout, error) + GetKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) (KeyboardLayoutSelectionResult, error) + GetKeyboardLayoutListForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) ([]KeyboardLayout, error) + GetKeyboardLayouts func(ctx context.Context) ([]KeyboardLayout, error) + GetKeyboardLayoutsForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier) ([]KeyboardLayout, error) + GetLightState func(ctx context.Context, deviceId int32, lightId int32) (lights.LightState, error) + GetLights func(ctx context.Context, deviceId int32) ([]lights.Light, error) + GetModifierKeyRemapping func(ctx context.Context) (map[any]any, error) + GetMousePointerSpeed func(ctx context.Context) (int32, error) + GetSensorList func(ctx context.Context, deviceId int32) ([]InputSensorInfo, error) + GetTouchCalibrationForInputDevice func(ctx context.Context, inputDeviceDescriptor string, rotation int32) (TouchCalibration, error) + GetVelocityTrackerStrategy func(ctx context.Context) (string, error) + GetVibratorIds func(ctx context.Context, deviceId int32) ([]int32, error) + HasKeys func(ctx context.Context, deviceId int32, sourceMask int32, keyCodes []int32, ...) (bool, error) + InjectInputEvent func(ctx context.Context, ev view.InputEvent, mode int32) (bool, error) + InjectInputEventToTarget func(ctx context.Context, ev view.InputEvent, mode int32, targetUid int32) (bool, error) + IsInTabletMode func(ctx context.Context) (int32, error) + IsInputDeviceEnabled func(ctx context.Context, deviceId int32) (bool, error) + IsMicMuted func(ctx context.Context) (int32, error) + IsVibrating func(ctx context.Context, deviceId int32) (bool, error) + MonitorGestureInput func(ctx context.Context, token binder.IBinder, name string, displayId int32) (view.InputMonitor, error) + OpenLightSession func(ctx context.Context, deviceId int32, opPkg string, token binder.IBinder) error + PilferPointers func(ctx context.Context, inputChannelToken binder.IBinder) error + RegisterBatteryListener func(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error + RegisterInputDevicesChangedListener func(ctx context.Context, listener IInputDevicesChangedListener) error + RegisterKeyboardBacklightListener func(ctx context.Context, listener IKeyboardBacklightListener) error + RegisterSensorListener func(ctx context.Context, listener IInputSensorEventListener) (bool, error) + RegisterStickyModifierStateListener func(ctx context.Context, listener IStickyModifierStateListener) error + RegisterTabletModeChangedListener func(ctx context.Context, listener ITabletModeChangedListener) error + RegisterVibratorStateListener func(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error) + RemapModifierKey func(ctx context.Context, fromKey int32, toKey int32) error + RemoveKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + RemovePortAssociation func(ctx context.Context, inputPort string) error + RemoveUniqueIdAssociation func(ctx context.Context, inputPort string) error + RequestPointerCapture func(ctx context.Context, inputChannelToken binder.IBinder, enabled bool) error + SetCurrentKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + SetCustomPointerIcon func(ctx context.Context, icon view.PointerIcon) error + SetKeyboardLayoutForInputDevice func(ctx context.Context, identifier InputDeviceIdentifier, ...) error + SetLightStates func(ctx context.Context, deviceId int32, lightIds []int32, ...) error + SetPointerIcon func(ctx context.Context, icon view.PointerIcon, displayId int32, deviceId int32, ...) (bool, error) + SetPointerIconType func(ctx context.Context, typeId int32) error + SetTouchCalibrationForInputDevice func(ctx context.Context, inputDeviceDescriptor string, rotation int32, ...) error + TryPointerSpeed func(ctx context.Context, speed int32) error + UnregisterBatteryListener func(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error + UnregisterKeyboardBacklightListener func(ctx context.Context, listener IKeyboardBacklightListener) error + UnregisterSensorListener func(ctx context.Context, listener IInputSensorEventListener) error + UnregisterStickyModifierStateListener func(ctx context.Context, listener IStickyModifierStateListener) error + UnregisterVibratorStateListener func(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error) + VerifyInputEvent func(ctx context.Context, ev view.InputEvent) (view.VerifiedInputEvent, error) + Vibrate func(ctx context.Context, deviceId int32, effect os.VibrationEffect, ...) error + VibrateCombined func(ctx context.Context, deviceId int32, vibration os.CombinedVibration, ...) error + type IInputSensorEventListener interface + AsBinder func() binder.IBinder + OnInputSensorAccuracyChanged func(ctx context.Context, deviceId int32, sensorId int32, accuracy int32) error + OnInputSensorChanged func(ctx context.Context, deviceId int32, sensorId int32, accuracy int32, ...) error + func NewInputSensorEventListenerStub(impl IInputSensorEventListenerServer) IInputSensorEventListener + type IInputSensorEventListenerServer interface + OnInputSensorAccuracyChanged func(ctx context.Context, deviceId int32, sensorId int32, accuracy int32) error + OnInputSensorChanged func(ctx context.Context, deviceId int32, sensorId int32, accuracy int32, ...) error + type IKeyboardBacklightListener interface + AsBinder func() binder.IBinder + OnBrightnessChanged func(ctx context.Context, deviceId int32, state IKeyboardBacklightState, ...) error + func NewKeyboardBacklightListenerStub(impl IKeyboardBacklightListenerServer) IKeyboardBacklightListener + type IKeyboardBacklightListenerServer interface + OnBrightnessChanged func(ctx context.Context, deviceId int32, state IKeyboardBacklightState, ...) error + type IKeyboardBacklightState struct + BrightnessLevel int32 + MaxBrightnessLevel int32 + func (s *IKeyboardBacklightState) MarshalParcel(p *parcel.Parcel) error + func (s *IKeyboardBacklightState) UnmarshalParcel(p *parcel.Parcel) error + type IStickyModifierStateListener interface + AsBinder func() binder.IBinder + OnStickyModifierStateChanged func(ctx context.Context, modifierState int32, lockedModifierState int32) error + func NewStickyModifierStateListenerStub(impl IStickyModifierStateListenerServer) IStickyModifierStateListener + type IStickyModifierStateListenerServer interface + OnStickyModifierStateChanged func(ctx context.Context, modifierState int32, lockedModifierState int32) error + type ITabletModeChangedListener interface + AsBinder func() binder.IBinder + OnTabletModeChanged func(ctx context.Context, whenNanos int64, inTabletMode bool) error + func NewTabletModeChangedListenerStub(impl ITabletModeChangedListenerServer) ITabletModeChangedListener + type ITabletModeChangedListenerServer interface + OnTabletModeChanged func(ctx context.Context, whenNanos int64, inTabletMode bool) error + type InputDeviceBatteryListenerProxy struct + Remote binder.IBinder + func NewInputDeviceBatteryListenerProxy(remote binder.IBinder) *InputDeviceBatteryListenerProxy + func (p *InputDeviceBatteryListenerProxy) AsBinder() binder.IBinder + func (p *InputDeviceBatteryListenerProxy) OnBatteryStateChanged(ctx context.Context, batteryState IInputDeviceBatteryState) error + type InputDeviceBatteryListenerStub struct + Impl IInputDeviceBatteryListener + Transport binder.VersionAwareTransport + func (s *InputDeviceBatteryListenerStub) Descriptor() string + func (s *InputDeviceBatteryListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type InputDeviceIdentifier struct + Descriptor string + ProductId int32 + VendorId int32 + func (s *InputDeviceIdentifier) MarshalParcel(p *parcel.Parcel) error + func (s *InputDeviceIdentifier) UnmarshalParcel(p *parcel.Parcel) error + type InputDevicesChangedListenerProxy struct + Remote binder.IBinder + func NewInputDevicesChangedListenerProxy(remote binder.IBinder) *InputDevicesChangedListenerProxy + func (p *InputDevicesChangedListenerProxy) AsBinder() binder.IBinder + func (p *InputDevicesChangedListenerProxy) OnInputDevicesChanged(ctx context.Context, deviceIdAndGeneration []int32) error + type InputDevicesChangedListenerStub struct + Impl IInputDevicesChangedListener + Transport binder.VersionAwareTransport + func (s *InputDevicesChangedListenerStub) Descriptor() string + func (s *InputDevicesChangedListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type InputManagerProxy struct + Remote binder.IBinder + func NewInputManagerProxy(remote binder.IBinder) *InputManagerProxy + func (p *InputManagerProxy) AddKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error + func (p *InputManagerProxy) AddPortAssociation(ctx context.Context, inputPort string, displayPort int32) error + func (p *InputManagerProxy) AddUniqueIdAssociation(ctx context.Context, inputPort string, displayUniqueId string) error + func (p *InputManagerProxy) AsBinder() binder.IBinder + func (p *InputManagerProxy) CancelCurrentTouch(ctx context.Context) error + func (p *InputManagerProxy) CancelVibrate(ctx context.Context, deviceId int32, token binder.IBinder) error + func (p *InputManagerProxy) ClearAllModifierKeyRemappings(ctx context.Context) error + func (p *InputManagerProxy) CloseLightSession(ctx context.Context, deviceId int32, token binder.IBinder) error + func (p *InputManagerProxy) DisableInputDevice(ctx context.Context, deviceId int32) error + func (p *InputManagerProxy) DisableSensor(ctx context.Context, deviceId int32, sensorType int32) error + func (p *InputManagerProxy) EnableInputDevice(ctx context.Context, deviceId int32) error + func (p *InputManagerProxy) EnableSensor(ctx context.Context, deviceId int32, sensorType int32, samplingPeriodUs int32, ...) (bool, error) + func (p *InputManagerProxy) FlushSensor(ctx context.Context, deviceId int32, sensorType int32) (bool, error) + func (p *InputManagerProxy) GetBatteryState(ctx context.Context, deviceId int32) (IInputDeviceBatteryState, error) + func (p *InputManagerProxy) GetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) (string, error) + func (p *InputManagerProxy) GetEnabledKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]string, error) + func (p *InputManagerProxy) GetHostUsiVersionFromDisplayConfig(ctx context.Context, displayId int32) (HostUsiVersion, error) + func (p *InputManagerProxy) GetInputDevice(ctx context.Context, deviceId int32) (view.InputDevice, error) + func (p *InputManagerProxy) GetInputDeviceBluetoothAddress(ctx context.Context, deviceId int32) (string, error) + func (p *InputManagerProxy) GetInputDeviceIds(ctx context.Context) ([]int32, error) + func (p *InputManagerProxy) GetKeyCharacterMap(ctx context.Context, layoutDescriptor string) (view.KeyCharacterMap, error) + func (p *InputManagerProxy) GetKeyCodeForKeyLocation(ctx context.Context, deviceId int32, locationKeyCode int32) (int32, error) + func (p *InputManagerProxy) GetKeyboardLayout(ctx context.Context, keyboardLayoutDescriptor string) (KeyboardLayout, error) + func (p *InputManagerProxy) GetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) (KeyboardLayoutSelectionResult, error) + func (p *InputManagerProxy) GetKeyboardLayoutListForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) ([]KeyboardLayout, error) + func (p *InputManagerProxy) GetKeyboardLayouts(ctx context.Context) ([]KeyboardLayout, error) + func (p *InputManagerProxy) GetKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]KeyboardLayout, error) + func (p *InputManagerProxy) GetLightState(ctx context.Context, deviceId int32, lightId int32) (lights.LightState, error) + func (p *InputManagerProxy) GetLights(ctx context.Context, deviceId int32) ([]lights.Light, error) + func (p *InputManagerProxy) GetModifierKeyRemapping(ctx context.Context) (map[any]any, error) + func (p *InputManagerProxy) GetMousePointerSpeed(ctx context.Context) (int32, error) + func (p *InputManagerProxy) GetSensorList(ctx context.Context, deviceId int32) ([]InputSensorInfo, error) + func (p *InputManagerProxy) GetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32) (TouchCalibration, error) + func (p *InputManagerProxy) GetVelocityTrackerStrategy(ctx context.Context) (string, error) + func (p *InputManagerProxy) GetVibratorIds(ctx context.Context, deviceId int32) ([]int32, error) + func (p *InputManagerProxy) HasKeys(ctx context.Context, deviceId int32, sourceMask int32, keyCodes []int32, ...) (bool, error) + func (p *InputManagerProxy) InjectInputEvent(ctx context.Context, ev view.InputEvent, mode int32) (bool, error) + func (p *InputManagerProxy) InjectInputEventToTarget(ctx context.Context, ev view.InputEvent, mode int32, targetUid int32) (bool, error) + func (p *InputManagerProxy) IsInTabletMode(ctx context.Context) (int32, error) + func (p *InputManagerProxy) IsInputDeviceEnabled(ctx context.Context, deviceId int32) (bool, error) + func (p *InputManagerProxy) IsMicMuted(ctx context.Context) (int32, error) + func (p *InputManagerProxy) IsVibrating(ctx context.Context, deviceId int32) (bool, error) + func (p *InputManagerProxy) MonitorGestureInput(ctx context.Context, token binder.IBinder, name string, displayId int32) (view.InputMonitor, error) + func (p *InputManagerProxy) OpenLightSession(ctx context.Context, deviceId int32, opPkg string, token binder.IBinder) error + func (p *InputManagerProxy) PilferPointers(ctx context.Context, inputChannelToken binder.IBinder) error + func (p *InputManagerProxy) RegisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error + func (p *InputManagerProxy) RegisterInputDevicesChangedListener(ctx context.Context, listener IInputDevicesChangedListener) error + func (p *InputManagerProxy) RegisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error + func (p *InputManagerProxy) RegisterSensorListener(ctx context.Context, listener IInputSensorEventListener) (bool, error) + func (p *InputManagerProxy) RegisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error + func (p *InputManagerProxy) RegisterTabletModeChangedListener(ctx context.Context, listener ITabletModeChangedListener) error + func (p *InputManagerProxy) RegisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error) + func (p *InputManagerProxy) RemapModifierKey(ctx context.Context, fromKey int32, toKey int32) error + func (p *InputManagerProxy) RemoveKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error + func (p *InputManagerProxy) RemovePortAssociation(ctx context.Context, inputPort string) error + func (p *InputManagerProxy) RemoveUniqueIdAssociation(ctx context.Context, inputPort string) error + func (p *InputManagerProxy) RequestPointerCapture(ctx context.Context, inputChannelToken binder.IBinder, enabled bool) error + func (p *InputManagerProxy) SetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error + func (p *InputManagerProxy) SetCustomPointerIcon(ctx context.Context, icon view.PointerIcon) error + func (p *InputManagerProxy) SetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error + func (p *InputManagerProxy) SetLightStates(ctx context.Context, deviceId int32, lightIds []int32, ...) error + func (p *InputManagerProxy) SetPointerIcon(ctx context.Context, icon view.PointerIcon, displayId int32, deviceId int32, ...) (bool, error) + func (p *InputManagerProxy) SetPointerIconType(ctx context.Context, typeId int32) error + func (p *InputManagerProxy) SetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32, ...) error + func (p *InputManagerProxy) TryPointerSpeed(ctx context.Context, speed int32) error + func (p *InputManagerProxy) UnregisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error + func (p *InputManagerProxy) UnregisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error + func (p *InputManagerProxy) UnregisterSensorListener(ctx context.Context, listener IInputSensorEventListener) error + func (p *InputManagerProxy) UnregisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error + func (p *InputManagerProxy) UnregisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error) + func (p *InputManagerProxy) VerifyInputEvent(ctx context.Context, ev view.InputEvent) (view.VerifiedInputEvent, error) + func (p *InputManagerProxy) Vibrate(ctx context.Context, deviceId int32, effect os.VibrationEffect, ...) error + func (p *InputManagerProxy) VibrateCombined(ctx context.Context, deviceId int32, vibration os.CombinedVibration, ...) error + type InputManagerStub struct + Impl IInputManager + Transport binder.VersionAwareTransport + func (s *InputManagerStub) Descriptor() string + func (s *InputManagerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type InputSensorEventListenerProxy struct + Remote binder.IBinder + func NewInputSensorEventListenerProxy(remote binder.IBinder) *InputSensorEventListenerProxy + func (p *InputSensorEventListenerProxy) AsBinder() binder.IBinder + func (p *InputSensorEventListenerProxy) OnInputSensorAccuracyChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32) error + func (p *InputSensorEventListenerProxy) OnInputSensorChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32, ...) error + type InputSensorEventListenerStub struct + Impl IInputSensorEventListener + Transport binder.VersionAwareTransport + func (s *InputSensorEventListenerStub) Descriptor() string + func (s *InputSensorEventListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type InputSensorInfo struct + FifoMaxEventCount int32 + FifoReservedEventCount int32 + Flags int32 + Handle int32 + Id int32 + MaxDelay int32 + MaxRange float32 + MinDelay int32 + Name string + Power float32 + RequiredPermission string + Resolution float32 + StringType string + Type int32 + Vendor string + Version int32 + func (s *InputSensorInfo) MarshalParcel(p *parcel.Parcel) error + func (s *InputSensorInfo) UnmarshalParcel(p *parcel.Parcel) error + type KeyboardBacklightListenerProxy struct + Remote binder.IBinder + func NewKeyboardBacklightListenerProxy(remote binder.IBinder) *KeyboardBacklightListenerProxy + func (p *KeyboardBacklightListenerProxy) AsBinder() binder.IBinder + func (p *KeyboardBacklightListenerProxy) OnBrightnessChanged(ctx context.Context, deviceId int32, state IKeyboardBacklightState, ...) error + type KeyboardBacklightListenerStub struct + Impl IKeyboardBacklightListener + Transport binder.VersionAwareTransport + func (s *KeyboardBacklightListenerStub) Descriptor() string + func (s *KeyboardBacklightListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type KeyboardLayout struct + Collection string + Descriptor string + Label string + Priority int32 + ProductId int32 + VendorId int32 + func (s *KeyboardLayout) MarshalParcel(p *parcel.Parcel) error + func (s *KeyboardLayout) UnmarshalParcel(p *parcel.Parcel) error + type KeyboardLayoutSelectionResult struct + Flg int32 + SelectionCriteria int32 + func (s *KeyboardLayoutSelectionResult) MarshalParcel(p *parcel.Parcel) error + func (s *KeyboardLayoutSelectionResult) UnmarshalParcel(p *parcel.Parcel) error + type StickyModifierStateListenerProxy struct + Remote binder.IBinder + func NewStickyModifierStateListenerProxy(remote binder.IBinder) *StickyModifierStateListenerProxy + func (p *StickyModifierStateListenerProxy) AsBinder() binder.IBinder + func (p *StickyModifierStateListenerProxy) OnStickyModifierStateChanged(ctx context.Context, modifierState int32, lockedModifierState int32) error + type StickyModifierStateListenerStub struct + Impl IStickyModifierStateListener + Transport binder.VersionAwareTransport + func (s *StickyModifierStateListenerStub) Descriptor() string + func (s *StickyModifierStateListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type TabletModeChangedListenerProxy struct + Remote binder.IBinder + func NewTabletModeChangedListenerProxy(remote binder.IBinder) *TabletModeChangedListenerProxy + func (p *TabletModeChangedListenerProxy) AsBinder() binder.IBinder + func (p *TabletModeChangedListenerProxy) OnTabletModeChanged(ctx context.Context, whenNanos int64, inTabletMode bool) error + type TabletModeChangedListenerStub struct + Impl ITabletModeChangedListener + Transport binder.VersionAwareTransport + func (s *TabletModeChangedListenerStub) Descriptor() string + func (s *TabletModeChangedListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type TouchCalibration struct + XOffset float32 + XScale float32 + XYMix float32 + YOffset float32 + YScale float32 + YXMix float32 + func (s *TouchCalibration) MarshalParcel(p *parcel.Parcel) error + func (s *TouchCalibration) UnmarshalParcel(p *parcel.Parcel) error + type VirtualDpadConfig struct + func (s *VirtualDpadConfig) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualDpadConfig) UnmarshalParcel(p *parcel.Parcel) error + type VirtualKeyEvent struct + Action int32 + EventTimeNanos int64 + KeyCode int32 + func (s *VirtualKeyEvent) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualKeyEvent) UnmarshalParcel(p *parcel.Parcel) error + type VirtualKeyboardConfig struct + LanguageTag string + LayoutType string + func (s *VirtualKeyboardConfig) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualKeyboardConfig) UnmarshalParcel(p *parcel.Parcel) error + type VirtualMouseButtonEvent struct + Action int32 + ButtonCode int32 + EventTimeNanos int64 + func (s *VirtualMouseButtonEvent) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualMouseButtonEvent) UnmarshalParcel(p *parcel.Parcel) error + type VirtualMouseConfig struct + func (s *VirtualMouseConfig) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualMouseConfig) UnmarshalParcel(p *parcel.Parcel) error + type VirtualMouseRelativeEvent struct + EventTimeNanos int64 + RelativeX float32 + RelativeY float32 + func (s *VirtualMouseRelativeEvent) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualMouseRelativeEvent) UnmarshalParcel(p *parcel.Parcel) error + type VirtualMouseScrollEvent struct + EventTimeNanos int64 + XAxisMovement float32 + YAxisMovement float32 + func (s *VirtualMouseScrollEvent) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualMouseScrollEvent) UnmarshalParcel(p *parcel.Parcel) error + type VirtualNavigationTouchpadConfig struct + Height int32 + Width int32 + func (s *VirtualNavigationTouchpadConfig) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualNavigationTouchpadConfig) UnmarshalParcel(p *parcel.Parcel) error + type VirtualStylusButtonEvent struct + Action int32 + ButtonCode int32 + EventTimeNanos int64 + func (s *VirtualStylusButtonEvent) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualStylusButtonEvent) UnmarshalParcel(p *parcel.Parcel) error + type VirtualStylusConfig struct + func (s *VirtualStylusConfig) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualStylusConfig) UnmarshalParcel(p *parcel.Parcel) error + type VirtualStylusMotionEvent struct + Action int32 + EventTimeNanos int64 + Pressure int32 + TiltX int32 + TiltY int32 + ToolType int32 + X int32 + Y int32 + func (s *VirtualStylusMotionEvent) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualStylusMotionEvent) UnmarshalParcel(p *parcel.Parcel) error + type VirtualTouchEvent struct + Action int32 + EventTimeNanos int64 + MajorAxisSize float32 + PointerId int32 + Pressure float32 + ToolType int32 + X float32 + Y float32 + func (s *VirtualTouchEvent) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualTouchEvent) UnmarshalParcel(p *parcel.Parcel) error + type VirtualTouchscreenConfig struct + func (s *VirtualTouchscreenConfig) MarshalParcel(p *parcel.Parcel) error + func (s *VirtualTouchscreenConfig) UnmarshalParcel(p *parcel.Parcel) error