Skip to content

Commit

Permalink
avm2: Add AIR-only constant flash.ui.KeyLocation.D_PAD
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 committed Jan 25, 2024
1 parent 67674ba commit 36210c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/avm2/globals/flash/ui/KeyLocation.as
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ package flash.ui

public final class KeyLocation
{
// Indicates the key activation originated on a directional pad of input device.
// Example: The trackball on a mobile device or the left arrow on a remote control.
[API("669")]
public static const D_PAD:uint = 4;

// Indicates the key activated is in the left key location (there is more than one possible location for this key).
public static const LEFT:uint = 1;

Expand Down

0 comments on commit 36210c9

Please sign in to comment.