|
| define_declared_event (ButtonPressed, button_pressed, game_controller_button, key_modifiers_e) define_declared_event(ButtonReleased |
|
key_modifiers_e | define_declared_event (ButtonRepeat, button_repeat, game_controller_button, key_modifiers_e) define_declared_event(LeftTriggerMoved |
|
key_modifiers_e key_modifiers_e | define_declared_event (RightTriggerMoved, right_trigger_moved, double, key_modifiers_e) define_declared_event(LeftThumbMoved |
|
key_modifiers_e key_modifiers_e const vec2 key_modifiers_e | define_declared_event (RightThumbMoved, right_thumb_moved, const vec2 &, key_modifiers_e) define_declared_event(StickMoved |
|
key_modifiers_e key_modifiers_e const vec2 key_modifiers_e const vec3 key_modifiers_e | define_declared_event (StickRotated, stick_rotated, const vec3 &, key_modifiers_e) define_declared_event(SliderMoved |
|
| game_controller (hid_device_subclass aSubclass, const hid_device_uuid &aProductId, const hid_device_uuid &aInstanceId, const button_map_type &aButtonMap={}) |
|
bool | player_assigned () const override |
|
game_player | player () const override |
|
void | assign_player (game_player aPlayer) override |
|
void | unassign_player () override |
|
bool | have_port () const override |
|
game_controller_port | port () const override |
|
void | set_port (game_controller_port aPort) override |
|
void | clear_port () override |
|
bool | needs_calibrating () const override |
|
bool | is_button_pressed (game_controller_button_ordinal aButtonOrdinal) const override |
|
bool | is_button_pressed (game_controller_button aButton) const override |
|
double | left_trigger_position () const override |
|
double | right_trigger_position () const override |
|
const vec2 & | left_thumb_position () const override |
|
const vec2 & | right_thumb_position () const override |
|
const vec3 & | stick_position () const override |
|
const vec3 & | stick_rotation () const override |
|
const vec2 & | slider_position () const override |
|
uint32_t | button_count () const override |
|
bool | button_mapped (game_controller_button aButton) const override |
|
game_controller_button_ordinal | button_to_button_ordinal (game_controller_button aButton) const override |
|
game_controller_button | button_ordinal_to_button (game_controller_button_ordinal aButtonOrdinal) const override |
|
| define_declared_event (Enabled, enabled) define_declared_event(Disabled |
|
| hid_device (hid_device_type aType, hid_device_class aClass, hid_device_subclass aSubclass, const hid_device_uuid &aProductId={}, const hid_device_uuid &aInstanceId={}) |
|
hid_device_type | device_type () const override |
|
hid_device_class | device_class () const override |
|
hid_device_subclass | device_subclass () const override |
|
hid_device_uuid | product_id () const override |
|
hid_device_uuid | instance_id () const override |
|
bool | is_enabled () const override |
|
void | enable () override |
|
void | disable () override |
|
const i_string & | product_name () const override |
|
| reference_counted () noexcept |
|
| reference_counted (const reference_counted &aOther) noexcept |
|
| ~reference_counted () |
|
reference_counted & | operator= (const reference_counted &) |
|
void | add_ref () const noexcept override |
|
void | release () const override |
|
int32_t | use_count () const noexcept override |
|
const base_type * | release_and_take_ownership () const override |
|
base_type * | release_and_take_ownership () override |
|
void | pin () const noexcept override |
|
void | unpin () const override |
|
i_ref_control_block & | control_block () override |
|
Definition at line 30 of file game_controller.hpp.