summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/gamecontroller/GCControllerDirectionPad.inc
blob: 482499ae8fc72ae92515827770e74a72dfa9688d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ Parsed from GameController.framework GCControllerDirectionPad.h }


{ Types from GCControllerDirectionPad }
{$ifdef TYPES}

type
  GCControllerDirectionPadValueChangedHandler = OpaqueCBlock;
{$endif}


{$ifdef TYPES}
type
  GCControllerDirectionPadPtr = ^GCControllerDirectionPad;
{$endif}

{$ifdef CLASSES}

type
  GCControllerDirectionPad = objcclass external (GCControllerElement)
  public
    procedure setValueChangedHandler(newValue: GCControllerDirectionPadValueChangedHandler); message 'setValueChangedHandler:';
    function valueChangedHandler: GCControllerDirectionPadValueChangedHandler; message 'valueChangedHandler';
    function xAxis: GCControllerAxisInput; message 'xAxis';
    function yAxis: GCControllerAxisInput; message 'yAxis';
    function up: GCControllerButtonInput; message 'up';
    function down: GCControllerButtonInput; message 'down';
    function left: GCControllerButtonInput; message 'left';
    function right: GCControllerButtonInput; message 'right';
  end;
{$endif}