Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Updated name
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Feb 10, 2021
1 parent cf09a4d commit 512094a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/libsdl2/libsdl2/webos-input-structs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Uint32 type; /**< ::SDL_KEYDOWN or ::SDL_KEYUP */
Uint32 timestamp;
Uint32 windowID; /**< The window with keyboard focus, if any */
+ Uint32 inputDevice; /**< webOS specific field */
+ Uint32 inputSource; /**< webOS specific field */
Uint8 state; /**< ::SDL_PRESSED or ::SDL_RELEASED */
Uint8 repeat; /**< Non-zero if this is a key repeat */
Uint8 padding2;
Expand All @@ -16,7 +16,7 @@
Uint32 type; /**< ::SDL_TEXTEDITING */
Uint32 timestamp;
Uint32 windowID; /**< The window with keyboard focus, if any */
+ Uint32 inputDevice; /**< webOS specific field */
+ Uint32 inputSource; /**< webOS specific field */
char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]; /**< The editing text */
Sint32 start; /**< The start cursor of selected editing text */
Sint32 length; /**< The length of selected editing text */
Expand All @@ -26,7 +26,7 @@
Uint32 type; /**< ::SDL_TEXTINPUT */
Uint32 timestamp;
Uint32 windowID; /**< The window with keyboard focus, if any */
+ Uint32 inputDevice; /**< webOS specific field */
+ Uint32 inputSource; /**< webOS specific field */
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE]; /**< The input text */
} SDL_TextInputEvent;

0 comments on commit 512094a

Please sign in to comment.