-
Notifications
You must be signed in to change notification settings - Fork 11
Input
ben-sangster edited this page Oct 7, 2010
·
1 revision
Input
Found in "dmz/components/input"
Bool channel (Handle channel, Bool State)
Handle channel.create (Handle h)
FunctionPtr channel.observe (self, [Handle channel], Function fnc (Handle Channel, Boolean State))
FunctionPtr axis.observe (self, , Function fnc (Handle channel, Object))
- The function that is sent in by axis.observe will get as an argument an object with the following keys:
- source
- id
- value
- previous
- delta
FunctionPtr button.observe (self, , Function fnc (Handle channel, Object))
- The function that is sent in by button.observe will get as an argument an object with the following keys:
- source
- id
- value
- previous
Number key.toValue (String keyStr)
String key.toString (Number keyValue)
FunctionPtr key.observe (self, , Function fnc (Handle channel, Object))
- The function that is sent in will get as an argument an object with the following keys:
- source
- key
- state
FunctionPtr mouse.observe (self, , Function fnc (Handle channel, Object))
- Function input object keys:
- source
FunctionPtr data.observe (self, , Function fnc (Handle channel, Handle source, Data d))