IInput#
- class carb.input.IInput#
Bases:
pybind11_object
Methods
- __init__(*args, **kwargs)#
- add_action_mapping(*args, **kwargs)#
Overloaded function.
add_action_mapping(self: carb.input.IInput, action_mapping_set: carb.input.ActionMappingSet, action: str, keyboard: carb.input.Keyboard, keyboard_input: carb.input.KeyboardInput, modifiers: int = 0) -> int
add_action_mapping(self: carb.input.IInput, action_mapping_set: carb.input.ActionMappingSet, action: str, mouse: carb.input.Mouse, mouse_input: carb.input.MouseInput, modifiers: int = 0) -> int
add_action_mapping(self: carb.input.IInput, action_mapping_set: carb.input.ActionMappingSet, action: str, gamepad: carb.input.Gamepad, gamepad_input: carb.input.GamepadInput) -> int
- clear_action_mappings(
- self: carb.input.IInput,
- arg0: carb.input.ActionMappingSet,
- arg1: str,
- create_action_mapping_set(
- self: carb.input.IInput,
- arg0: str,
- destroy_action_mapping_set(
- self: carb.input.IInput,
- arg0: carb.input.ActionMappingSet,
- distribute_buffered_events(self: carb.input.IInput) None #
- filter_buffered_events(
- self: carb.input.IInput,
- arg0: Callable[[carb.input.InputEvent], carb.input.FilterResult],
- get_action_button_flags(*args, **kwargs)#
Overloaded function.
get_action_button_flags(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str) -> int
get_action_button_flags(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str) -> int
- get_action_count(
- self: carb.input.IInput,
- arg0: carb.input.ActionMappingSet,
- get_action_mapping_count(
- self: carb.input.IInput,
- arg0: carb.input.ActionMappingSet,
- arg1: str,
- get_action_mapping_set_by_path(*args, **kwargs)#
Overloaded function.
get_action_mapping_set_by_path(self: carb.input.IInput, arg0: str) -> carb.input.ActionMappingSet
get_action_mapping_set_by_path(self: carb.input.IInput, arg0: str) -> carb.input.ActionMappingSet
- get_action_mappings(
- self: carb.input.IInput,
- arg0: carb.input.ActionMappingSet,
- arg1: str,
- get_action_value(*args, **kwargs)#
Overloaded function.
get_action_value(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str) -> float
get_action_value(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str) -> float
- get_actions(
- self: carb.input.IInput,
- arg0: carb.input.ActionMappingSet,
- get_device_name(
- self: carb.input.IInput,
- arg0: carb.input.InputDevice,
- get_device_type(
- self: carb.input.IInput,
- arg0: carb.input.InputDevice,
- get_gamepad_button_flags(
- self: carb.input.IInput,
- arg0: carb.input.Gamepad,
- arg1: carb.input.GamepadInput,
- get_gamepad_guid(
- self: carb.input.IInput,
- arg0: carb.input.Gamepad,
- get_gamepad_name(
- self: carb.input.IInput,
- arg0: carb.input.Gamepad,
- get_gamepad_value(
- self: carb.input.IInput,
- arg0: carb.input.Gamepad,
- arg1: carb.input.GamepadInput,
- get_global_modifier_flags(
- self: carb.input.IInput,
- modifiers: int = 0,
- mouse_buttons: object = None,
- get_input_provider(
- self: carb.input.IInput,
- get_keyboard_button_flags(
- self: carb.input.IInput,
- arg0: carb.input.Keyboard,
- arg1: carb.input.KeyboardInput,
- get_keyboard_name(
- self: carb.input.IInput,
- arg0: carb.input.Keyboard,
- get_keyboard_value(
- self: carb.input.IInput,
- arg0: carb.input.Keyboard,
- arg1: carb.input.KeyboardInput,
- get_modifier_flags(
- self: carb.input.IInput,
- modifiers: int = 0,
- input_devices: List[carb.input.InputDevice] = [],
- device_types: List[carb.input.DeviceType] = [],
- mouse_buttons: object = None,
- get_mouse_button_flags(
- self: carb.input.IInput,
- arg0: carb.input.Mouse,
- arg1: carb.input.MouseInput,
- get_mouse_coords_normalized(
- self: carb.input.IInput,
- arg0: carb.input.Mouse,
- get_mouse_coords_pixel(
- self: carb.input.IInput,
- arg0: carb.input.Mouse,
- get_mouse_name(
- self: carb.input.IInput,
- arg0: carb.input.Mouse,
- get_mouse_value(
- self: carb.input.IInput,
- arg0: carb.input.Mouse,
- arg1: carb.input.MouseInput,
- remove_action_mapping(
- self: carb.input.IInput,
- arg0: carb.input.ActionMappingSet,
- arg1: str,
- arg2: int,
- set_action_mapping(*args, **kwargs)#
Overloaded function.
set_action_mapping(self: carb.input.IInput, action_mapping_set: carb.input.ActionMappingSet, action: str, index: int, keyboard: carb.input.Keyboard, keyboard_input: carb.input.KeyboardInput, modifiers: int = 0) -> None
set_action_mapping(self: carb.input.IInput, action_mapping_set: carb.input.ActionMappingSet, action: str, index: int, mouse: carb.input.Mouse, mouse_input: carb.input.MouseInput, modifiers: int = 0) -> None
set_action_mapping(self: carb.input.IInput, action_mapping_set: carb.input.ActionMappingSet, action: str, index: int, gamepad: carb.input.Gamepad, gamepad_input: carb.input.GamepadInput) -> None
- set_default_action_mapping(*args, **kwargs)#
Overloaded function.
set_default_action_mapping(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str, arg2: carb.input.Keyboard, arg3: carb.input.KeyboardInput, arg4: int) -> bool
set_default_action_mapping(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str, arg2: carb.input.Gamepad, arg3: carb.input.GamepadInput) -> bool
set_default_action_mapping(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str, arg2: carb.input.Mouse, arg3: carb.input.MouseInput, arg4: int) -> bool
- shutdown(self: carb.input.IInput) None #
- startup(self: carb.input.IInput) None #
- subscribe_to_action_events(*args, **kwargs)#
Overloaded function.
subscribe_to_action_events(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str, arg2: Callable[[carb.input.ActionEvent], bool]) -> int
subscribe_to_action_events(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str, arg2: Callable[[carb.input.ActionEvent], bool]) -> int
- subscribe_to_gamepad_connection_events(
- self: carb.input.IInput,
- arg0: Callable[[carb.input.GamepadConnectionEvent], None],
- subscribe_to_gamepad_events(
- self: carb.input.IInput,
- arg0: carb.input.Gamepad,
- arg1: Callable[[carb.input.GamepadEvent], bool],
- subscribe_to_input_events(
- self: carb.input.IInput,
- eventFn: Callable[[carb.input.InputEvent], bool],
- eventTypes: int = 4294967295,
- device: carb.input.InputDevice = None,
- order: int = -1,
- subscribe_to_keyboard_events(
- self: carb.input.IInput,
- arg0: carb.input.Keyboard,
- arg1: Callable[[carb.input.KeyboardEvent], bool],
- subscribe_to_mouse_events(
- self: carb.input.IInput,
- arg0: carb.input.Mouse,
- arg1: Callable[[carb.input.MouseEvent], bool],
- unsubscribe_to_action_events(*args, **kwargs)#
Overloaded function.
unsubscribe_to_action_events(self: carb.input.IInput, arg0: int) -> None
unsubscribe_to_action_events(self: carb.input.IInput, arg0: int) -> None
- unsubscribe_to_gamepad_connection_events(
- self: carb.input.IInput,
- arg0: int,
- unsubscribe_to_gamepad_events(
- self: carb.input.IInput,
- arg0: carb.input.Gamepad,
- arg1: int,
- unsubscribe_to_input_events(
- self: carb.input.IInput,
- arg0: int,
- unsubscribe_to_keyboard_events(
- self: carb.input.IInput,
- arg0: carb.input.Keyboard,
- arg1: int,
- unsubscribe_to_mouse_events(
- self: carb.input.IInput,
- arg0: carb.input.Mouse,
- arg1: int,