InputDeviceManager
from panda3d.core import InputDeviceManager
- class InputDeviceManager
Bases:
DTOOL_SUPER_BASE
This class keeps track of all the devices on a system, and sends out events when a device has been hot-plugged.
New in version 1.10.0.
Inheritance diagram
- __init__(*args, **kwargs)
- addDevice()
C++ Interface: add_device(const InputDeviceManager self, InputDevice device)
- /**
Called when a new device has been discovered. This may also be used to
register virtual devices.
This causes a connect-device event to be thrown.
*/
- add_device()
C++ Interface: add_device(const InputDeviceManager self, InputDevice device)
- /**
Called when a new device has been discovered. This may also be used to
register virtual devices.
This causes a connect-device event to be thrown.
*/
- getDevices()
C++ Interface: get_devices(InputDeviceManager self) get_devices(InputDeviceManager self, DeviceClass device_class)
- getGlobalPtr()
C++ Interface: get_global_ptr()
- /**
Returns the singleton InputDeviceManager instance.
*/
- get_devices()
C++ Interface: get_devices(InputDeviceManager self) get_devices(InputDeviceManager self, DeviceClass device_class)
- get_global_ptr()
C++ Interface: get_global_ptr()
- /**
Returns the singleton InputDeviceManager instance.
*/
- removeDevice()
C++ Interface: remove_device(const InputDeviceManager self, InputDevice device)
- /**
Called when a device has been removed, or when a device should otherwise no
longer be tracked.
This causes a disconnect-device event to be thrown.
*/