Components and supplies
RobotDyn 4x4 module
Male/Female Jumper Wires
Arduino Leonardo
Tools and machines
3D Printer (generic)
Apps and platforms
Arduino IDE
Project description
Code
Macro Keypad
arduino
Its a macro keypad. you can use it to open a program, help with video editing, streaming or simply just copy and paste.
Comments
Only logged in users can leave comments
Anonymous user
2 years ago
Cannot make it work, serial does detect keystrokes but cannot make it work as a keyboard. :(
orgytis
2 years ago
If you can't get it to work as a keyboard try adding a delay e.g.: else if(val>260){ delay(150); Keyboard.press(KEY_LEFT_GUI); Keyboard.releaseAll(); } And maybe try updating Keyboard.h library and if you using Arduino nano well, I'm sorry but Arduino nano cannot support HID device "emulation". If you still have some problems I will try to help you. And thank you for the feedback.
Anonymous user
5 years ago
Hello just 2 things, minor details. I am working on making this project, and will be excited to see the v2 but: line34 should be : else if(val>660) instead of: else if(val>660 ) char missing and line 55 should be: return 15; instead of return 15: ; instead of : of course is a copy paste problem, nothing to worry about, but anyway. :) If I were you I would add a //Gytis_Orz sketch from Hackster.io more info https://www.hackster.io/Gytis_Orz/macro-keypad-02cb43 on the begining, it's just a line and gives some credit to you :)