aboutsummaryrefslogtreecommitdiff
path: root/Makefile (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-12-09Initial working Obj-C sound (leak)Nicholas Tay1-2/+4
It seems to memory leak so needs to be fixed, but this was before I had to return my work MacBook - until I get my own!
2022-11-03Initial macOS support (key hooking only, no sound yet)Nicholas Tay1-1/+4
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.
2022-05-18Fix indent/stylingNicholas Tay1-6/+6
2022-05-17Add Linux supportNicholas Tay1-2/+5
Oh boy this was a bit of a hassle lol - dynamic loading was the easiest part... but then came both sound and x11 Using SDL for now but I'd really like to change it for even lower layer, but then I might have to make my own mixer... oh no.
2022-05-10Dynamic load boards as DLL (windows only for now)Nicholas Tay1-1/+1
The .h files are pretty weird, should look at other C projects to see how they load plugins. This function pointer business with typedefs is kinda weird, not sure where they should live.
2022-05-08More messing around with plugin systemNicholas Tay1-18/+2
Just more attempts, but I think I'm gonna switch over to dynamic .so/.dll loading. That would be pretty fun to check out.
2022-05-07Split out platform-specific code for WindowsNicholas Tay1-3/+12
Not sure if I'm really doing it in the best way possible. Feels a bit weird that some place assumes the existence of other functions.
2022-04-28Iterate boards in CNicholas Tay1-1/+3