Pico-Deck Build a Pico shortcut Keypad 14 March 2023 2 minute read By Kevin McAleer Share this article on Table of Contents Bill of Materials3d designPico-Deck SoftwareInstallation & Prerequisiteskeypad.ymlDownload the STL files and print todayMicroPython Code Tags Raspberry Pi Pico MicroPython Macro Pideck Keypad Shortcut Streamdeck 3D Printing Code Repo View Code Repository on GitHub
Bill of Materials Items Description Qty Price RGB Keypad Pimoroni Pico RGB Keypad Base 1 £18.25 3d design The Pico-Deck stand is based on the Pi Stands I’ve created previously. Its angled for comfort and fits the Pico RGB Keypad Base perfectly. Pico-Deck Software Turn your Pimoroni Pico RBG Keypad into a USB Shortcut Keypad that is configurable via a simple Yaml file. Installation & Prerequisites To get up and running quickly, Flash your Pico with the latest version of Circuit Python, from Adafruit Clone this repository and copy all the files on to the pico Edit the keypad.yml file to setup your own keyboard shortcuts Restart the Pico and away you go. keypad.yml You can configure the PiDeck using the keypad.yml file. It has 16 sections, one for each key. Each key as a name 0 to 15 (why not 1 to 16? - it’s a programming thing!) Then it has an on and off HEX RGB value (without any leading # character). The off value will be shown when the key isn’t press, the on value when the key is pressed. If the effect is set to pulse the key will pulse between the off and on values. The command is the sequence of keys (or shortcut) that will be sent to the computer. On a Mac, you can use the Automator to specify a service and then Application to launch, then in the Keyboard panel with Settings you can specify the shortcut key combination to launch that app. Pair that with the key combination in the command and you have yourself a productivity Swiss Army knife. Finally button_type lets you choose whether the key is a single press momentry touch button, or if it is a toggle button where it stays on until you press it again. - name: 0 off: FFFFFF on: B4F8C8 effect: none command: COMMAND S button_type: press - name: 1 off: FFFF00 on: 00FF00 effect: pulse command: COMMAND TAB button_type: toggle Download the STL files and print today picodeck.stl MicroPython Code You can download the full code from the repository for this project: https://github.com/kevinmcaleer/pideck