InputProvider#
- class carb.input.InputProvider#
Bases:
pybind11_object
Methods
__init__
(*args, **kwargs)buffer_gamepad_event
(self, arg0, arg1, arg2)buffer_keyboard_char_event
(self, arg0, arg1, ...)buffer_keyboard_key_event
(self, arg0, arg1, ...)buffer_mouse_event
(self, arg0, arg1, arg2, ...)create_gamepad
(self, arg0, arg1)create_keyboard
(self, arg0)create_mouse
(self, arg0)destroy_gamepad
(self, arg0)destroy_keyboard
(self, arg0)destroy_mouse
(self, arg0)set_gamepad_connected
(self, arg0, arg1)update_gamepad
(self, arg0)update_keyboard
(self, arg0)update_mouse
(self, arg0)- __init__(*args, **kwargs)#
- buffer_gamepad_event(
- self: carb.input.InputProvider,
- arg0: carb.input.Gamepad,
- arg1: carb.input.GamepadInput,
- arg2: float,
- buffer_keyboard_char_event(
- self: carb.input.InputProvider,
- arg0: carb.input.Keyboard,
- arg1: str,
- arg2: int,
- buffer_keyboard_key_event(
- self: carb.input.InputProvider,
- arg0: carb.input.Keyboard,
- arg1: carb.input.KeyboardEventType,
- arg2: carb.input.KeyboardInput,
- arg3: int,
- buffer_mouse_event(
- self: carb.input.InputProvider,
- arg0: carb.input.Mouse,
- arg1: carb.input.MouseEventType,
- arg2: carb._carb.Float2,
- arg3: int,
- arg4: carb._carb.Float2,
- create_gamepad(
- self: carb.input.InputProvider,
- arg0: str,
- arg1: str,
- create_keyboard(
- self: carb.input.InputProvider,
- arg0: str,
- create_mouse(
- self: carb.input.InputProvider,
- arg0: str,
- destroy_gamepad(
- self: carb.input.InputProvider,
- arg0: carb.input.Gamepad,
- destroy_keyboard(
- self: carb.input.InputProvider,
- arg0: carb.input.Keyboard,
- destroy_mouse(
- self: carb.input.InputProvider,
- arg0: carb.input.Mouse,
- set_gamepad_connected(
- self: carb.input.InputProvider,
- arg0: carb.input.Gamepad,
- arg1: bool,
- update_gamepad(
- self: carb.input.InputProvider,
- arg0: carb.input.Gamepad,
- update_keyboard(
- self: carb.input.InputProvider,
- arg0: carb.input.Keyboard,
- update_mouse(
- self: carb.input.InputProvider,
- arg0: carb.input.Mouse,