summaryrefslogtreecommitdiff
path: root/src/gui/macos_trackpad.h
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 21:23:22 -0300
committerGabriel Schneider <[email protected]>2026-11-18 21:43:03 -0300
commitf9a3179542012ec1a700e2020ac9f616b819f972 (patch)
tree73f4cb241876196331f7b28c9f773301bd341a7f /src/gui/macos_trackpad.h
parenta75956bb3443aa8aac778d2ff12c42f5ef99e0e9 (diff)
downloadpardes-f9a3179542012ec1a700e2020ac9f616b819f972.tar.gz
pardes-f9a3179542012ec1a700e2020ac9f616b819f972.zip
dev: the frontends (dev/tui, dev/gui, the macOS app's Swift and resources in dev/macos), host_io, file_watch, fonts, the lsp client and Scip, Art, jump_trail, glide and vaxis_input into dev/ (the reorganisation's tree, step 2b): module `dev` (dev/root.zig) beside the core and the runtime, each naming the others; the window wired into it, sketchbook's devices imported as `sketchbook` (its `dev` would be ours); pardes.zig keeps its re-exports (host_io, file_watch, glide, fonts) so every caller reads as before; core-test and shell-test run the devices' test program too, so the same tests run (the ledger, tui and gui); nothing else changes: frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/gui/macos_trackpad.h')
-rw-r--r--src/gui/macos_trackpad.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gui/macos_trackpad.h b/src/gui/macos_trackpad.h
deleted file mode 100644
index f5266084..00000000
--- a/src/gui/macos_trackpad.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef PARDES_MACOS_TRACKPAD_H
-#define PARDES_MACOS_TRACKPAD_H
-#include <SDL3/SDL.h>
-
-enum { UI_TRACKPAD_FINGERS = 1, UI_TRACKPAD_PRESSURE, UI_TRACKPAD_ROTATE,
- UI_TRACKPAD_PINCH, UI_TRACKPAD_SCROLL, UI_TRACKPAD_HISTORY };
-/* Same prefix as SDL_UserEvent; the rest lives inside SDL_Event's storage. */
-typedef struct {
- Uint32 type, reserved;
- Uint64 timestamp;
- SDL_WindowID windowID;
- int kind;
- float x, y, a, b;
- Uint32 phase;
- int fingers;
-} UITrackpadEvent;
-
-Uint32 ui_macos_trackpad_event_type(void);
-void ui_macos_trackpad_attach(SDL_Window *window);
-void ui_macos_trackpad_haptic(void);
-#endif