Input
backend.Input (Class)
Implements: spec.Input, tracker.Events
Instance Members
unity
startGamepadRumble(gamepadId: Int, lowFrequency: Float, highFrequency: Float, duration: Float): Void
Name | Type |
---|---|
gamepadId |
Int |
lowFrequency |
Float |
highFrequency |
Float |
duration |
Float |
Name | Type |
---|---|
gamepadId |
Int |
Private Members
unity
gamepadDualShockGyroControls: ceramic.IntMap<Array<unityengine.inputsystem.controls.ButtonControl>>
keyDown event
Name | Type |
---|---|
key |
ceramic.Key |
keyUp event
Name | Type |
---|---|
key |
ceramic.Key |
gamepadAxis event
Name | Type |
---|---|
gamepadId |
Int |
axisId |
Int |
value |
Float |
gamepadDown event
Name | Type |
---|---|
gamepadId |
Int |
buttonId |
Int |
gamepadUp event
Name | Type |
---|---|
gamepadId |
Int |
buttonId |
Int |
gamepadGyro event
Name | Type |
---|---|
gamepadId |
Int |
dx |
Float |
dy |
Float |
dz |
Float |
gamepadEnable event
Name | Type |
---|---|
gamepadId |
Int |
name |
String |
gamepadDisable event
Name | Type |
---|---|
gamepadId |
Int |
Name | Type |
---|---|
delta |
Float |
unity
testKey(keyboard: unityengine.inputsystem.Keyboard, value: Int, scanCode: Int, ?keyCode: Int): Void
Name | Type | Default |
---|---|---|
keyboard |
unityengine.inputsystem.Keyboard | |
value |
Int | |
scanCode |
Int | |
keyCode |
Int | (optional) |
Name | Type |
---|---|
key |
ceramic.Key |
Name | Type |
---|---|
key |
ceramic.Key |
Name | Type |
---|---|
delta |
Float |
Name | Type |
---|---|
index |
Int |
button |
Int |
pressed |
Bool |
Name | Type |
---|---|
index |
Int |
axis |
Int |
value |
Single |
unity
readDualShockGyro(gyroControl0: unityengine.inputsystem.controls.ButtonControl, gyroControl1: unityengine.inputsystem.controls.ButtonControl): Float
Name | Type |
---|---|
gyroControl0 |
unityengine.inputsystem.controls.ButtonControl |
gyroControl1 |
unityengine.inputsystem.controls.ButtonControl |
Returns |
---|
Float |
Metadata
Name | Parameters |
---|---|
:hxGen |
- |
:build |
tracker.macros.EventsMacro.build() |
:autoBuild |
tracker.macros.EventsMacro.build() |
:allow |
Main |