Bind one or two 'int's to a csev*Move type event. You can bind the two axes simultaneously or separately. If yvar is NULL and the event is a y-axis type, xvar is used as yvar. Or bind a button status '(int)bool' to a csev*Up/Down type event. Will modify the existing binding if any. It is recommended that you use this in conjuction with csParseKeyDef The axis (either x, y or both) is given by whether ev.*.x is greater than ev.*.y (x) or visa versa (y) or if they are equal (both).
The documentation for this class was generated from the following file: