Submitted by Tanmay583 t3_10ifk6z in MechanicalKeyboards
Tanmay583 OP t1_j5gptsw wrote
Reply to comment by ShadowDen3869 in A custom Control Surface for General purpose use / Video editing & Color Grading by Tanmay583
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
Viewing a single comment thread. View all comments