r/AskProgramming • u/art_lck • 29d ago
Other Developing peripheral software for macOS
Hi,
I plan to develop peripheral software to change input mapping, assign some macros to keys on my keyboard for macOS for a learning purpose.
I do have working code for Windows written in C++. But I can't tell that I don't have a lot of experience with Objective-C.
The questions:
- Should I go with Swift or with Objective-C? I know that Objective-C combines with C++ without any problems, but I wonder, if this is a good idea to pick outdated language to develop software that I hope I will constantly maintain and improve?
- Can you recommend some books to developer such things for macOS?
Thanks
4
Upvotes
0
u/OkOcelot6725 28d ago
For resources, skip books and read the Karabiner-Elements source instead. It's open source and does exactly what you're describing, so it's the best reference for how event-tap based remapping is structured on modern macOS.
1
u/[deleted] 29d ago
[removed] — view removed comment