aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-11-03 00:56:38 +1100
committerNicholas Tay <nick@windblume.net>2022-11-03 01:00:06 +1100
commit0f5a18991f320a2df370994326f882a144c45b02 (patch)
tree685ad7abb3883311c085c203038a9a1566acb847 /.gitignore
parent7fe48a5a3f65c759adf7ff4b778bcf8a18334c7b (diff)
downloadclak-0f5a18991f320a2df370994326f882a144c45b02.tar.gz
clak-0f5a18991f320a2df370994326f882a144c45b02.tar.bz2
clak-0f5a18991f320a2df370994326f882a144c45b02.zip
Initial macOS support (key hooking only, no sound yet)
Thought I'd commit this first, since it'll be some Objective-C stuff coming (tested it out in another mini probe). Mostly has stuff similar to Linux so probably should abstract some out to *nix common. But uses IOKit to get into the typing events. Will use Obj-C for now for sound, since it'll probably be a NSSound thing, hooked up with NSCache (like Linux) to reduce loading into NS format multiple times. Also probably would need to free the sound object on finish sound, and not sure how I'd do Obj-C delegates from C... it would be fun to figure it out though eventually Also switched the Makefile to use clang, it's warnings do seem to be nicer :) and is what `gcc` is aliased to on a Mac by default anyway.
Diffstat (limited to '')
-rw-r--r--.gitignore3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 5768e2e..c9120e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,5 @@ clak.exe
board/boards.h
board/*/sound.h
board/*.dll
-board/*.so \ No newline at end of file
+board/*.so
+board/*.dylib