mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Fix -vet-tabs issues
This commit is contained in:
Vendored
+4
-4
@@ -171,9 +171,9 @@ KeyboardEvent :: struct {
|
||||
TEXTEDITINGEVENT_TEXT_SIZE :: 32
|
||||
TextEditingEvent :: struct {
|
||||
type: EventType, /**< ::SDL_TEXTEDITING */
|
||||
timestamp: u32, /**< In milliseconds, populated using SDL_GetTicks() */
|
||||
windowID: u32, /**< The window with keyboard focus, if any */
|
||||
text: [TEXTEDITINGEVENT_TEXT_SIZE]u8, /**< The editing text */
|
||||
timestamp: u32, /**< In milliseconds, populated using SDL_GetTicks() */
|
||||
windowID: u32, /**< The window with keyboard focus, if any */
|
||||
text: [TEXTEDITINGEVENT_TEXT_SIZE]u8, /**< The editing text */
|
||||
start: i32, /**< The start cursor of selected editing text */
|
||||
length: i32, /**< The length of selected editing text */
|
||||
}
|
||||
@@ -184,7 +184,7 @@ TextInputEvent :: struct {
|
||||
type: EventType, /**< ::SDL_TEXTINPUT */
|
||||
timestamp: u32, /**< In milliseconds, populated using SDL_GetTicks() */
|
||||
windowID: u32, /**< The window with keyboard focus, if any */
|
||||
text: [TEXTINPUTEVENT_TEXT_SIZE]u8, /**< The input text */
|
||||
text: [TEXTINPUTEVENT_TEXT_SIZE]u8, /**< The input text */
|
||||
}
|
||||
|
||||
MouseMotionEvent :: struct {
|
||||
|
||||
Vendored
+23
-23
@@ -54,29 +54,29 @@ GameControllerAxis :: enum c.int {
|
||||
}
|
||||
|
||||
GameControllerButton :: enum c.int {
|
||||
INVALID = -1,
|
||||
A,
|
||||
B,
|
||||
X,
|
||||
Y,
|
||||
BACK,
|
||||
GUIDE,
|
||||
START,
|
||||
LEFTSTICK,
|
||||
RIGHTSTICK,
|
||||
LEFTSHOULDER,
|
||||
RIGHTSHOULDER,
|
||||
DPAD_UP,
|
||||
DPAD_DOWN,
|
||||
DPAD_LEFT,
|
||||
DPAD_RIGHT,
|
||||
MISC1, /* Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button, Amazon Luna microphone button */
|
||||
PADDLE1, /* Xbox Elite paddle P1 */
|
||||
PADDLE2, /* Xbox Elite paddle P3 */
|
||||
PADDLE3, /* Xbox Elite paddle P2 */
|
||||
PADDLE4, /* Xbox Elite paddle P4 */
|
||||
TOUCHPAD, /* PS4/PS5 touchpad button */
|
||||
MAX,
|
||||
INVALID = -1,
|
||||
A,
|
||||
B,
|
||||
X,
|
||||
Y,
|
||||
BACK,
|
||||
GUIDE,
|
||||
START,
|
||||
LEFTSTICK,
|
||||
RIGHTSTICK,
|
||||
LEFTSHOULDER,
|
||||
RIGHTSHOULDER,
|
||||
DPAD_UP,
|
||||
DPAD_DOWN,
|
||||
DPAD_LEFT,
|
||||
DPAD_RIGHT,
|
||||
MISC1, /* Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button, Amazon Luna microphone button */
|
||||
PADDLE1, /* Xbox Elite paddle P1 */
|
||||
PADDLE2, /* Xbox Elite paddle P3 */
|
||||
PADDLE3, /* Xbox Elite paddle P2 */
|
||||
PADDLE4, /* Xbox Elite paddle P4 */
|
||||
TOUCHPAD, /* PS4/PS5 touchpad button */
|
||||
MAX,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Vendored
+4
-4
@@ -19,10 +19,10 @@ TouchDeviceType :: enum c.int {
|
||||
}
|
||||
|
||||
Finger :: struct {
|
||||
id: FingerID,
|
||||
x: f32,
|
||||
y: f32,
|
||||
pressure: f32,
|
||||
id: FingerID,
|
||||
x: f32,
|
||||
y: f32,
|
||||
pressure: f32,
|
||||
}
|
||||
|
||||
TOUCH_MOUSEID :: ~u32(0)
|
||||
|
||||
Reference in New Issue
Block a user