Expand description
Safe wrappers for the underling ioctls
This module is intended for making custom device abstractions. If you’re using the provided Device
abstraction you
don’t have to use this module however mixing is not prohibited and should work.
Functions§
- get_
axis_ count - Retrieve number of axis present. Calls
JSIOCGAXES
ioctl. - get_
axis_ mapping - Retrieve axes mapping. Calls
JSIOCGAXMAP
ioctl. - get_
button_ count - Retrieve number of buttons present. Calls
JSIOCGBUTTONS
ioctl. - get_
button_ mapping - Retrieve buttons mapping. Calls
JSIOCGBTNMAP
ioctl. - get_
correction_ values - Retrieve axes correction values. Calls
JSIOCGCORR
ioctl. - get_
driver_ version - Retrieve driver version. Calls
JSIOCGVERSION
ioctl. - get_
event - Read an event. Calls
read
. - get_
identifier - Retrieve device identifier. Calls
JSIOCGNAME
ioctl. - set_
axis_ mapping - Set axes mapping. Calls
JSIOCSAXMAP
ioctl. - set_
button_ mapping - Set buttons mapping. Calls
JSIOCSBTNMAP
ioctl. - set_
correction_ values - Set axes correction values. Calls
JSIOCSCORR
ioctl.