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) None
- create_action_mapping_set(self: carb.input.IInput, arg0: str) carb.input.ActionMappingSet
- destroy_action_mapping_set(self: carb.input.IInput, arg0: carb.input.ActionMappingSet) None
- distribute_buffered_events(self: carb.input.IInput) None
- filter_buffered_events(self: carb.input.IInput, arg0: Callable[[carb.input.InputEvent], carb.input.FilterResult]) None
- 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) int
- get_action_mapping_count(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str) int
- 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) List[carb.input.ActionMappingDesc]
- 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) List[str]
- get_device_name(self: carb.input.IInput, arg0: carb.input.InputDevice) str
- get_device_type(self: carb.input.IInput, arg0: carb.input.InputDevice) carb.input.DeviceType
- get_gamepad_button_flags(self: carb.input.IInput, arg0: carb.input.Gamepad, arg1: carb.input.GamepadInput) int
- get_gamepad_guid(self: carb.input.IInput, arg0: carb.input.Gamepad) str
- get_gamepad_name(self: carb.input.IInput, arg0: carb.input.Gamepad) str
- get_gamepad_value(self: carb.input.IInput, arg0: carb.input.Gamepad, arg1: carb.input.GamepadInput) float
- get_global_modifier_flags(self: carb.input.IInput, modifiers: int = 0, mouse_buttons: object = None) int
- get_input_provider(self: carb.input.IInput) carb::input::InputProvider
- get_keyboard_button_flags(self: carb.input.IInput, arg0: carb.input.Keyboard, arg1: carb.input.KeyboardInput) int
- get_keyboard_name(self: carb.input.IInput, arg0: carb.input.Keyboard) str
- get_keyboard_value(self: carb.input.IInput, arg0: carb.input.Keyboard, arg1: carb.input.KeyboardInput) float
- 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) int
- get_mouse_button_flags(self: carb.input.IInput, arg0: carb.input.Mouse, arg1: carb.input.MouseInput) int
- get_mouse_coords_normalized(self: carb.input.IInput, arg0: carb.input.Mouse) carb._carb.Float2
- get_mouse_coords_pixel(self: carb.input.IInput, arg0: carb.input.Mouse) carb._carb.Float2
- get_mouse_name(self: carb.input.IInput, arg0: carb.input.Mouse) str
- get_mouse_value(self: carb.input.IInput, arg0: carb.input.Mouse, arg1: carb.input.MouseInput) float
- remove_action_mapping(self: carb.input.IInput, arg0: carb.input.ActionMappingSet, arg1: str, arg2: int) None
- 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]) int
- subscribe_to_gamepad_events(self: carb.input.IInput, arg0: carb.input.Gamepad, arg1: Callable[[carb.input.GamepadEvent], bool]) int
- 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) int
- subscribe_to_keyboard_events(self: carb.input.IInput, arg0: carb.input.Keyboard, arg1: Callable[[carb.input.KeyboardEvent], bool]) int
- subscribe_to_mouse_events(self: carb.input.IInput, arg0: carb.input.Mouse, arg1: Callable[[carb.input.MouseEvent], bool]) int
- 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) None
- unsubscribe_to_gamepad_events(self: carb.input.IInput, arg0: carb.input.Gamepad, arg1: int) None
- unsubscribe_to_input_events(self: carb.input.IInput, arg0: int) None
- unsubscribe_to_keyboard_events(self: carb.input.IInput, arg0: carb.input.Keyboard, arg1: int) None
- unsubscribe_to_mouse_events(self: carb.input.IInput, arg0: carb.input.Mouse, arg1: int) None