I’m designing and building a little 4×4 mechanical keyboard for quick access to some Adobe Lightroom adjustments I often make.
I don’t even know if Lightroom can be controlled entirely with keyboard shortcuts!
If it cannot, i’ll get creative.
I am using some metal plate I found on ebay with 4×4 mounts for mechanical switches, the MX style Gatreon browns fit pretty well!
This is the key map i would like:
Exposure +, Exposure -, Auto Tone, Export
Contrast +, Contrast -, Vibrance +, Vibrance –
Highlights +, Highlights -, Saturation +, Saturation –
Clarity +, Clarity -, Vignette +, Vignette –
http://www.keyboard-layout-editor.com/#/gists/aa7528b1638866511cde7255f2943e2e
I have since found this to be impossible 🙁
I created a new layout that is very possible:
http://www.keyboard-layout-editor.com/#/gists/319f0d9e906216066f4aab529adfc73b
Heres some photos of where i’m at at the moment:
View post on imgur.com
View post on imgur.com
Code:
Someone amazing over on r/mk (/u/iandr0idos) made this website: http://kb.sized.io/
It’s a TMK firmware generator!
If you dump the file ‘layout (2).json‘ into it then you’ll get the layout for how i’ve wired this board.
You can find the full firmware files here: MacroPad.zip
The firmware can be compiled on: http://make.sized.io/
Or you can download the pre-compiled hex from: https://www.lewys.eu/dev/firmware(23).hex
At the moment it is configured for whatever the keycaps show, I will figure out the Lightroom keymap soon and replace the caps when I get them!
It is configured for the keymap, with two layers and macros programmed.
Uploading:
I am using an Arduino Pro Micro for the firmware because its much cheaper and easier to obtain here in Australia.
To flash the hex you will need this modified version of XLoader configured for the Atmega32u4
Additionally, You will need to reset the board by shorting RST and GND right before clicking the upload button.
Make sure you have selected the correct serial port as it will be different in bootloader mode.
The Pro Micro pinout is as follows:
as found here:
https://deskthority.net/workshop-f7/how-to-use-a-pro-micro-as-a-cheap-controller-converter-like-soarer-s-t8448.html
http://www.lightroomqueen.com/keyboard-shortcuts/lrcc6/
https://github.com/tmk/tmk_core/blob/master/doc/keycode.txt
https://github.com/tmk/tmk_keyboard/wiki/FAQ-Keymap