menu

InputEventAction

import { InputEventAction } from "destack:input/binding";

Input event action.

language/library/src/input/binding/event.ds:84:115
1export enum InputEventAction {2    Press = 1,3    Release = 2,4    Repeat = 3,5    Move = 4,6    Scroll = 5,7    Axis = 6,8    Text = 7,9    Connect = 8,10    Disconnect = 9,11    Change = 10,12    Cancel = 11,13    Begin = 12,14    Update = 13,15    Commit = 14,16    End = 15,17}

Variants

Press = 1

A control became active.

Release = 2

A control became inactive.

Repeat = 3

A control repeated while held.

Move = 4

A continuous control moved.

Scroll = 5

A scroll axis changed.

Axis = 6

An analog axis changed.

Text = 7

A text payload was emitted.

Connect = 8

A source became available.

Disconnect = 9

A source became unavailable.

Change = 10

A source changed.

Cancel = 11

A gesture, composition, or contact was canceled.

Begin = 12

A composite operation started.

Update = 13

A composite operation updated.

Commit = 14

A composite operation committed.

End = 15

A composite operation ended.