bitdream / aseprite

Automatically exported from code.google.com/p/aseprite
0 stars 0 forks source link

Keyboard Shortcut Remapping #442

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What do you need to do?

Have the ability to map certain shortcuts like (L)ine, to (N), (M), (Z) or 
whichever button is chosen.

How would you like to do it?

User Interface-wise, Have it under the File or Edit tab as an option, or within 
the main menu of Edit > Options as a separate tab in the window.

Code-wise, this approach could be entirely inaccurate, so forgive me for my 
ignorance if this is completely off the wall.

You could set up individual variables assigned to each tool or shortcut. You 
could then also map those same variables to print in the keyboard shortcuts of 
the menus. The variables will then be assigned a key press. You then create a 
master list of all the variables involving key presses for the tools and then 
assign each variable to a key press. After that, set up a code that can swap or 
change the key presses assigned to each referenced variable.

Original issue reported on code.google.com by alex.agu...@gmail.com on 6 Aug 2014 at 9:32