Returns input devices binded to the map on the corresponding option.
device, key, inverse, delta, joystick = cock.getBinded ( self, map, option )
table self
string map
string option
number device
number key
number inverse
number delta
number joystick
table = cock.getBinded ( self, map, all )
table self
string map
boolean all
table table
Table is generated as following:
table = { option = { "primary", "secondary", "etc."... }, device = { 1, 2, 3... }, key = { "x", 1, 5... }, inverse = { 2, 1, -2... }, delta = { 0, 1, -1... }, joystick = { 1, 1, 3 } }
First sub-table contains option names in arbitrary order. Values in all other tables correspond to the options in the first table.