|
ButtonEvent Struct Reference
[System Services]
Inherits Event.
Inherited by ButtonEventImpl.
List of all members.
Detailed Description
Description of game controller button event.
Member Function Documentation
| virtual int ButtonEvent::getButton |
( |
|
) |
const [pure virtual] |
|
|
|
Get the button index. -
Scripted as
-
[r/o int] button
|
| virtual int ButtonEvent::getDevice |
( |
|
) |
const [pure virtual] |
|
|
|
Get the device index. -
Scripted as:
-
[r/o int] device
|
| virtual bool ButtonEvent::initialize |
( |
int |
device, |
|
|
int |
button, |
|
|
bool |
pressed |
|
) |
[pure virtual] |
|
| virtual bool ButtonEvent::isPressed |
( |
|
) |
const [pure virtual] |
|
|
|
Returns true if the button is currently pressed. -
Scripted as:
-
[r/o int] pressed
|
The documentation for this struct was generated from the following file:
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|