{"id":323,"date":"2016-06-15T22:22:09","date_gmt":"2016-06-15T11:52:09","guid":{"rendered":"http:\/\/parablog-wordpress.dockerbox.rei.moe\/?p=323"},"modified":"2016-06-21T17:10:41","modified_gmt":"2016-06-21T06:40:41","slug":"lightroom-macro-board","status":"publish","type":"post","link":"https:\/\/blog.lewys.eu\/?p=323","title":{"rendered":"Lightroom Macro Board"},"content":{"rendered":"<p>I&#8217;m designing and building a little 4&#215;4 mechanical keyboard for quick access to some Adobe Lightroom adjustments I often make.<\/p>\n<p>I don&#8217;t even know if Lightroom can be controlled entirely with keyboard shortcuts!<br \/>\nIf it cannot, i&#8217;ll get creative.<\/p>\n<p>I am using some metal plate I found on ebay with 4&#215;4 mounts for mechanical switches, the MX style Gatreon browns fit pretty well!<\/p>\n<p>This is the key map i would like:<\/p>\n<p><a href=\"http:\/\/172.16.0.6:8683\/wp-content\/uploads\/2016\/06\/keyboard-layout-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-324\" src=\"http:\/\/172.16.0.6:8683\/wp-content\/uploads\/2016\/06\/keyboard-layout-3.png\" alt=\"keyboard-layout (3)\" width=\"236\" height=\"236\" srcset=\"https:\/\/blog.lewys.eu\/wp-content\/uploads\/2016\/06\/keyboard-layout-3.png 236w, https:\/\/blog.lewys.eu\/wp-content\/uploads\/2016\/06\/keyboard-layout-3-150x150.png 150w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><\/a><\/p>\n<p>Exposure +, Exposure -, Auto Tone, Export<br \/>\nContrast +, Contrast -, Vibrance +, Vibrance &#8211;<br \/>\nHighlights +, Highlights -, Saturation\u00a0+, Saturation &#8211;<br \/>\nClarity +, Clarity -, Vignette +, Vignette &#8211;<\/p>\n<p><a href=\"http:\/\/www.keyboard-layout-editor.com\/#\/gists\/aa7528b1638866511cde7255f2943e2e\">http:\/\/www.keyboard-layout-editor.com\/#\/gists\/aa7528b1638866511cde7255f2943e2e<\/a><\/p>\n<p>I have since found this to be impossible \ud83d\ude41<\/p>\n<p>I created a new layout that is very possible:<br \/>\n<a href=\"http:\/\/www.keyboard-layout-editor.com\/#\/gists\/319f0d9e906216066f4aab529adfc73b\">http:\/\/www.keyboard-layout-editor.com\/#\/gists\/319f0d9e906216066f4aab529adfc73b<br \/>\n<\/a><\/p>\n<p><a href=\"http:\/\/172.16.0.6:8683\/wp-content\/uploads\/2016\/06\/chrome_2016-06-21_16-41-42.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-335\" src=\"http:\/\/172.16.0.6:8683\/wp-content\/uploads\/2016\/06\/chrome_2016-06-21_16-41-42.png\" alt=\"chrome_2016-06-21_16-41-42\" width=\"245\" height=\"273\" \/><\/a><\/p>\n<p>Heres some photos of where i&#8217;m at at the moment:<\/p>\n<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"a\/whDok\"><p><a href=\"https:\/\/imgur.com\/a\/whDok\">View post on imgur.com<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/s.imgur.com\/min\/embed.js\" charset=\"utf-8\"><\/script><\/p>\n<blockquote class=\"imgur-embed-pub\" lang=\"en\" data-id=\"a\/4kDrn\"><p><a href=\"https:\/\/imgur.com\/a\/4kDrn\">View post on imgur.com<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/s.imgur.com\/min\/embed.js\" charset=\"utf-8\"><\/script><\/p>\n<p><strong>Code:<\/strong><\/p>\n<p>Someone amazing over on r\/mk (\/u\/iandr0idos) made this website:\u00a0<a href=\"http:\/\/kb.sized.io\/\">http:\/\/kb.sized.io\/<br \/>\nI<\/a>t&#8217;s a TMK firmware generator!<br \/>\nIf you dump the file &#8216;<a href=\"https:\/\/www.lewys.eu\/dev\/layout_(2).json\">layout (2).json<\/a>&#8216; into it then you&#8217;ll get the layout for how i&#8217;ve wired this board.<\/p>\n<p>You can find the full firmware files here: <a href=\"https:\/\/www.lewys.eu\/dev\/MacroPad.zip\">MacroPad.zip<\/a><\/p>\n<p>The firmware can be compiled on:\u00a0<a href=\"http:\/\/make.sized.io\/\">http:\/\/make.sized.io\/<\/a><\/p>\n<p>Or you can download the pre-compiled hex from: <a href=\"https:\/\/www.lewys.eu\/dev\/firmware(23).hex\">https:\/\/www.lewys.eu\/dev\/firmware(23).hex<\/a><\/p>\n<p><del>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!<\/del><\/p>\n<p>It is configured for the keymap, with two layers and macros programmed.<\/p>\n<p><strong>Uploading:<\/strong><\/p>\n<p>I am using an Arduino Pro Micro for the firmware because its much cheaper and easier to obtain here in Australia.<br \/>\nTo flash the hex you will need <a href=\"https:\/\/www.lewys.eu\/dev\/XLoader.zip\">this modified version of XLoader configured for the Atmega32u4<\/a><\/p>\n<p>Additionally, You will need to reset the board by shorting RST and GND right before clicking the upload button.<br \/>\nMake sure you have selected the correct serial port as it will be different in bootloader mode.<\/p>\n<p>The Pro Micro pinout is as follows:<br \/>\n<a href=\"http:\/\/172.16.0.6:8683\/wp-content\/uploads\/2016\/06\/wMNx2u6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-330\" src=\"http:\/\/172.16.0.6:8683\/wp-content\/uploads\/2016\/06\/wMNx2u6.png\" alt=\"wMNx2u6\" width=\"499\" height=\"657\" srcset=\"https:\/\/blog.lewys.eu\/wp-content\/uploads\/2016\/06\/wMNx2u6.png 499w, https:\/\/blog.lewys.eu\/wp-content\/uploads\/2016\/06\/wMNx2u6-228x300.png 228w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a>as found here:<\/p>\n<p><a href=\"https:\/\/deskthority.net\/workshop-f7\/how-to-use-a-pro-micro-as-a-cheap-controller-converter-like-soarer-s-t8448.html\">https:\/\/deskthority.net\/workshop-f7\/how-to-use-a-pro-micro-as-a-cheap-controller-converter-like-soarer-s-t8448.html<\/a><\/p>\n<p><a href=\"http:\/\/www.lightroomqueen.com\/keyboard-shortcuts\/lrcc6\/\">http:\/\/www.lightroomqueen.com\/keyboard-shortcuts\/lrcc6\/<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/tmk\/tmk_core\/blob\/master\/doc\/keycode.txt\">https:\/\/github.com\/tmk\/tmk_core\/blob\/master\/doc\/keycode.txt<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/tmk\/tmk_keyboard\/wiki\/FAQ-Keymap\">https:\/\/github.com\/tmk\/tmk_keyboard\/wiki\/FAQ-Keymap<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m designing and building a little 4&#215;4 mechanical keyboard for quick access to some Adobe Lightroom adjustments I often make. I don&#8217;t even know if Lightroom can be controlled entirely with keyboard shortcuts! If it cannot, i&#8217;ll get creative. I am using some metal plate I found on ebay with 4&#215;4 mounts for mechanical switches, &hellip; <a href=\"https:\/\/blog.lewys.eu\/?p=323\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Lightroom Macro Board<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-323","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=323"}],"version-history":[{"count":9,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lewys.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}