Submitted by Tanmay583 t3_10ifk6z in MechanicalKeyboards
Comments
monamimalhotra t1_j5e3yvt wrote
dopee....how can i make something like this too ?
Tanmay583 OP t1_j5e47ik wrote
It's actually not that difficult, the only part you might find a bit grinding is the coding part, but the code is quite simple and easy to understand and modify according to your liking...
Look up macropads based on 'raspberry pi pico' and 'circuit python' which will get you started, let me know if you need my code or anything else... Happy to help :)
monamimalhotra t1_j5e4oi7 wrote
thanks alot, will start working on it soon and will let you know if i need help (:
JaffaB0y t1_j5e4zqm wrote
Lol I guess the hard part is different for different people.
The coding isn't an issue for me it's more the hardware and how you punched the holes for the keys and wired it up.
I love the chaotic look but undoubtedly perfect for using it with your hand.
Tanmay583 OP t1_j5e7jgj wrote
It's not punched holes, it's a basic 18cm x 12cm pcb. The only carving I had to do was for the mechanical switches mounts as the pcb layout was nowhere near the pin nad support structure of the switches. The bluish background on the top side is just a gradient with my logo printed on a sticker paper and pasted on top ;)
Also the keys and knobs structure and placement is based on my hand and where they rest naturally, quite ergonomical for me...
Tanmay583 OP t1_j5e7pqe wrote
Have fun making it!
darknessblades t1_j5ehdse wrote
If you have access to a 3D printer you could design your own panel, which is both easier to work with, and solder
EnAyJay t1_j5elb0c wrote
Why are the buttons just scattered around the board?
Tanmay583 OP t1_j5emtw7 wrote
They are placed according to my most comfortable finger positions while using the knobs
Tanmay583 OP t1_j5enhx9 wrote
I soo wish I had it to print a cool case for this... Rn am working on making my custom pcb for this.
N4f3ts t1_j5enkc5 wrote
punky!
TheShakyDiver t1_j5fs28z wrote
Function over form. I like it. I updoot the post.
Tanmay583 OP t1_j5g1rqa wrote
Yess sir!
ShadowDen3869 t1_j5goqz7 wrote
Can you please tell me how you programmed those rotary encoders? And also, can macros work on the knobs?
I'm trying to assign a macro to the knobs but it doesn't register for some reason.
Tanmay583 OP t1_j5gptsw wrote
They are programmed in Circuit python which is running on the raspberry pi pico. If you need I can send you the code for you to reference.
What kind of macros are you trying to achieve using your device and also I'd like to know what kind of device are you using for your rotary encoder?
ShadowDen3869 t1_j5gqmrt wrote
I'm using the Megalodon KB-16. It's got 3 knobs.
The macros i wanna program to it is a simple alt+mouse scroll up/down for zooming in and out of Photoshop.
And VIA has a code specifically for mouse wheel commands, but it doesn't register that code when i enter the macro (For example; KC_LALT, KC_MS_WH_UP). I'm not very familiar with circuit python and stuff. Or coding for that matter.
I'm a musician and an artist and use it mainly for Photoshop and music production on Cubase.
Tanmay583 OP t1_j5grd9t wrote
Ahh! I had actually seen this one but the price and small knobs put me off so I decided to build one myself. As for your code in VIA - what I would suggest is check if your syntax is correct and also check how similar macros are written in VIA so you can try to replicate that, I've never used VIA so can't really say for sure. Just check online how order people have written 2 key macros and you can also ask chatgpt to write you a sample code - it might just work!!
ShadowDen3869 t1_j5gt6z2 wrote
Yes, i used the code that VIA shows in it's UI when you hover over the virtual keys. I wrote the exact thing it shows but it still doesn't register it.
I can assign the knob to the scroll wheel, but i can't add a macro that involves the mouse scroll wheel.
Tanmay583 OP t1_j5gthvc wrote
Does the scroll wheel and the mouse scroll wheel do different things? I thought you were going for ALT + Scroll
ShadowDen3869 t1_j5guegu wrote
Sorry, for the confusion. I meant that the mouse scroll wheel function can be assigned to the knobs, no problem. But alt/control + scroll wheel as a two key macro doesn't work on the knob. It says the code is wrong even though i referred to each code for all the keys to make sure it's right.
Since you do video editing, then you know the shortcut for zooming in and out is holding down alt and scrolling up/down on the mouse. That's what I want to achieve with just one knob.
Tanmay583 OP t1_j5ioldp wrote
Are there any other 2 key macros which are in use in your code already? Also can you share your code? I'll have a look at it
Tanmay583 OP t1_j5e3r8d wrote
4 Rotary encoders / 12 keys / 4 Layers with an additional layer per layer which can be activated by holding a push button