foxnne / pixi

Pixel art editor made with Zig.
https://foxnne.github.io/pixi/
MIT License
645 stars 20 forks source link

Configurable Hotkeys #32

Open foxnne opened 9 months ago

foxnne commented 9 months ago

I tried to give this a shot early on, and Hotkeys.zig holds all the current default hotkeys. We will need to add a section in the settings to configure and change these hotkeys and save them with settings.

VisenDev commented 9 months ago

Related to this, if we are storing data, do we want to add a specific config folder that holds our config files like pixi-settings.json, recents.json, hotkeys.json etc? Rather than just putting them in the same folder as the binary?

foxnne commented 9 months ago

I wasn't too sure of where these need to be stored in a cross-platform friendly way, whether these files should be stored somewhere else entirely or if it's okay that it's by the binary? If it's acceptable that these files live in the install folder (which on macOS would be an .app folder?) then I think we can just do as you said and create a config folder to hold all of these files.

cationk6656 commented 8 months ago

https://www.paypalobjects.com/ui-web/money-icons/bank/checkImage_US.svg