FreeJ scripting

Class KeyboardController

Object
   |
   +--Controller
         |
         +--KeyboardController

class KeyboardController
extends Controller


The KeyboardController holds callbacks to javascript. Assign functions to the callback to handle events:

Example: kbd = new KeyboardController(); register_controller( kbd ); kbd.pressed_ctrl_q = function() { quit(); }

Author: jaromil
Defined in Controller.js


Constructor Summary
KeyboardController()
            KeyboardController constructor creates a keyboard controller
 
Method Summary
 void pressed_MOD_KEYSYM()
           All keyboard events are exported as .pressed_MOD_KEYSYM as in pressed_a pressed_b pressed_c or pressed_shift_a but also as .released_MOD_KEYSYM as in released_a ...
 
Methods inherited from class Controller
activate, get_name
 

Constructor Detail

KeyboardController

KeyboardController()

Method Detail

pressed_MOD_KEYSYM

void pressed_MOD_KEYSYM()

FreeJ scripting

| FreeJ scripting documentation is Copyleft (C) 2000 - 2007 dyne.org foundation. Verbatim copying and distribution of this entire page is permitted in any medium, provided this notice is preserved.
Send inquiries & questions to dyne.org's hackers.
Documentation generated by JSDoc on Thu May 29 20:56:52 2008