Class pyspacemouse::pyspacemouse::DeviceSpec
ClassList > pyspacemouse > pyspacemouse > DeviceSpec
Inherits the following classes: object
Public Attributes
Public Functions
Type | Name |
---|---|
def | __init__ (self self, name name, hid_id hid_id, led_id led_id, mappings mappings, button_mapping button_mapping, axis_scale axis_scale=350.0) |
def | close (self self) |
def | config_remove (self self) |
def | config_set (self self, Config config) |
def | config_set_sep (self self, callback callback=None, dof_callback dof_callback=None, dof_callback_arr dof_callback_arr=None, button_callback button_callback=None, button_callback_arr button_callback_arr=None) |
def | connected (self self) |
def | describe_connection (self self) |
def | mappings (self self) |
def | mappings (self self, val val) |
def | open (self self) |
def | process (self self, data data) |
def | read (self self) |
def | state (self self) |
Detailed Description
Public Attributes Documentation
variable axis_scale
pyspacemouse.pyspacemouse.DeviceSpec::axis_scale;
variable button_callback
pyspacemouse.pyspacemouse.DeviceSpec::button_callback;
variable button_callback_arr
pyspacemouse.pyspacemouse.DeviceSpec::button_callback_arr;
variable button_mapping
pyspacemouse.pyspacemouse.DeviceSpec::button_mapping;
variable callback
pyspacemouse.pyspacemouse.DeviceSpec::callback;
variable device
pyspacemouse.pyspacemouse.DeviceSpec::device;
variable dict_state
pyspacemouse.pyspacemouse.DeviceSpec::dict_state;
variable dict_state_last
pyspacemouse.pyspacemouse.DeviceSpec::dict_state_last;
variable dof_callback
pyspacemouse.pyspacemouse.DeviceSpec::dof_callback;
variable dof_callback_arr
pyspacemouse.pyspacemouse.DeviceSpec::dof_callback_arr;
variable hid_id
pyspacemouse.pyspacemouse.DeviceSpec::hid_id;
variable led_id
pyspacemouse.pyspacemouse.DeviceSpec::led_id;
variable name
pyspacemouse.pyspacemouse.DeviceSpec::name;
variable product_name
pyspacemouse.pyspacemouse.DeviceSpec::product_name;
variable serial_number
pyspacemouse.pyspacemouse.DeviceSpec::serial_number;
variable set_nonblocking_loop
pyspacemouse.pyspacemouse.DeviceSpec::set_nonblocking_loop;
variable tuple_state
pyspacemouse.pyspacemouse.DeviceSpec::tuple_state;
variable vendor_name
pyspacemouse.pyspacemouse.DeviceSpec::vendor_name;
variable version_number
pyspacemouse.pyspacemouse.DeviceSpec::version_number;
Public Functions Documentation
function __init__
def pyspacemouse::pyspacemouse::DeviceSpec::__init__ (
self self,
name name,
hid_id hid_id,
led_id led_id,
mappings mappings,
button_mapping button_mapping,
axis_scale axis_scale=350.0
)
function close
def pyspacemouse::pyspacemouse::DeviceSpec::close (
self self
)
function config_remove
def pyspacemouse::pyspacemouse::DeviceSpec::config_remove (
self self
)
function config_set
def pyspacemouse::pyspacemouse::DeviceSpec::config_set (
self self,
Config config
)
function config_set_sep
def pyspacemouse::pyspacemouse::DeviceSpec::config_set_sep (
self self,
callback callback=None,
dof_callback dof_callback=None,
dof_callback_arr dof_callback_arr=None,
button_callback button_callback=None,
button_callback_arr button_callback_arr=None
)
function connected
def pyspacemouse::pyspacemouse::DeviceSpec::connected (
self self
)
function describe_connection
def pyspacemouse::pyspacemouse::DeviceSpec::describe_connection (
self self
)
function mappings [1/2]
def pyspacemouse::pyspacemouse::DeviceSpec::mappings (
self self
)
function mappings [2/2]
def pyspacemouse::pyspacemouse::DeviceSpec::mappings (
self self,
val val
)
function open
def pyspacemouse::pyspacemouse::DeviceSpec::open (
self self
)
function process
def pyspacemouse::pyspacemouse::DeviceSpec::process (
self self,
data data
)
function read
def pyspacemouse::pyspacemouse::DeviceSpec::read (
self self
)
function state
def pyspacemouse::pyspacemouse::DeviceSpec::state (
self self
)
The documentation for this class was generated from the following file pyspacemouse/pyspacemouse.py