Module hid
Hid class
Functions
add (dev) | static callback when any hid device is added; user scripts can redefine |
remove (dev) | static callback when any hid device is removed; user scripts can redefine |
connect (n) | create device, returns object with handler and send |
Functions
- add (dev)
-
static callback when any hid device is added;
user scripts can redefine
Parameters:
- dev : a Hid table
- remove (dev)
-
static callback when any hid device is removed;
user scripts can redefine
Parameters:
- dev : a Hid table
- connect (n)
-
create device, returns object with handler and send
Parameters:
- n