Add sdl3_events.odin

This commit is contained in:
gingerBill
2025-02-04 14:31:36 +00:00
parent f1ab08a069
commit 2b4fbf695c
10 changed files with 1501 additions and 4 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ HapticEffect :: struct #raw_union {
HapticID :: distinct Uint32
@(default_calling_convention="c", link_prefix="", require_results)
@(default_calling_convention="c", link_prefix="SDL_", require_results)
foreign lib {
GetHaptics :: proc(count: ^c.int) -> ^HapticID ---
GetHapticNameForID :: proc(instance_id: HapticID) -> cstring ---