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,
) None#
buffer_keyboard_char_event(
self: carb.input.InputProvider,
arg0: carb.input.Keyboard,
arg1: str,
arg2: int,
) None#
buffer_keyboard_key_event(
self: carb.input.InputProvider,
arg0: carb.input.Keyboard,
arg1: carb.input.KeyboardEventType,
arg2: carb.input.KeyboardInput,
arg3: int,
) None#
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,
) None#
create_gamepad(
self: carb.input.InputProvider,
arg0: str,
arg1: str,
) carb.input.Gamepad#
create_keyboard(
self: carb.input.InputProvider,
arg0: str,
) carb.input.Keyboard#
create_mouse(
self: carb.input.InputProvider,
arg0: str,
) carb.input.Mouse#
destroy_gamepad(
self: carb.input.InputProvider,
arg0: carb.input.Gamepad,
) None#
destroy_keyboard(
self: carb.input.InputProvider,
arg0: carb.input.Keyboard,
) None#
destroy_mouse(
self: carb.input.InputProvider,
arg0: carb.input.Mouse,
) None#
set_gamepad_connected(
self: carb.input.InputProvider,
arg0: carb.input.Gamepad,
arg1: bool,
) None#
update_gamepad(
self: carb.input.InputProvider,
arg0: carb.input.Gamepad,
) None#
update_keyboard(
self: carb.input.InputProvider,
arg0: carb.input.Keyboard,
) None#
update_mouse(
self: carb.input.InputProvider,
arg0: carb.input.Mouse,
) None#