.. index:: pair: struct; EE::Window::InputEvent::JoyHatEvent .. _doxid-struct_e_e_1_1_window_1_1_input_event_1_1_joy_hat_event: struct EE::Window::InputEvent::JoyHatEvent ========================================== .. toctree:: :hidden: Overview ~~~~~~~~ :ref:`Joystick ` hat position change event structure :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct JoyHatEvent { // fields :ref:`Uint8` :target:`which`; :ref:`Uint8` :ref:`hat`; :ref:`Uint8` :ref:`value`; }; .. _details-struct_e_e_1_1_window_1_1_input_event_1_1_joy_hat_event: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ :ref:`Joystick ` hat position change event structure Fields ------ .. index:: pair: variable; hat .. _doxid-struct_e_e_1_1_window_1_1_input_event_1_1_joy_hat_event_1aca0272e96024813cdbcb7eaaee06bb53: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`Uint8` hat The joystick device index .. index:: pair: variable; value .. _doxid-struct_e_e_1_1_window_1_1_input_event_1_1_joy_hat_event_1a4b239070bec5bcd636b63836f131fd41: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`Uint8` value The joystick hat index