| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | float dx; /**< Normalized in the range -1...1 */ |
| | | float dy; /**< Normalized in the range -1...1 */ |
| | | float pressure; /**< Normalized in the range 0...1 */ |
| | | Uint32 windowID; /**< The window underneath the finger, if any */ |
| | | } SDL_TouchFingerEvent; |
| | | |
| | | |
| | |
| | | { |
| | | Uint32 type; /**< Event type, shared with all events */ |
| | | SDL_CommonEvent common; /**< Common event data */ |
| | | SDL_DisplayEvent display; /**< Window event data */ |
| | | SDL_DisplayEvent display; /**< Display event data */ |
| | | SDL_WindowEvent window; /**< Window event data */ |
| | | SDL_KeyboardEvent key; /**< Keyboard event data */ |
| | | SDL_TextEditingEvent edit; /**< Text editing event data */ |
| | |
| | | Uint8 padding[56]; |
| | | } SDL_Event; |
| | | |
| | | /* Make sure we haven't broken binary compatibility */ |
| | | SDL_COMPILE_TIME_ASSERT(SDL_Event, sizeof(SDL_Event) == 56); |
| | | |
| | | |
| | | /* Function prototypes */ |
| | | |