A lot of time, this time went on fixing mistakes, which I did by making this application just for macOS, but I was building this to support different platforms, I can’t survives other platforms
1. Just had one JSON file
for the complete configuration of the layouts.
I realised that certain layouts which I am giving pre built were going to have different keys bindings for different platforms
so I just separated my layouts into different files for Mac, Linux and Windows.
2. While talking to Claude,
I got to know that the data of the applications which are edited are supposed to be saved in a different location other than the installation location.
It is different for Mac and Windows, I was actually saving my data where my application is installed, so I fixed this issue and stored layout configs data at their appropriate location in the different system
3. So the special function keys, if you reading my devlogs, you are aware about this
special function, such as increasing or decreasing volume and brightness, skipping and pausing and playing media
these functions cannot be triggered by virtual keyboard. They are bounded to pressing keys in physical keyboard.
to trigger these special function, I used Apple script on macOS, but Apple script are still failing on some cases
so I used a swift language code , I did not understand how I could write swift inside rust but, stack overflow works. I got the code from stack overflow.
I also added some pre-layouts for various tasks and helping in application such as VS code, Photoshop, fusion 360 and while giving presentations.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.