Keychron-Q1-Rotary-Encoder-Firmware icon indicating copy to clipboard operation
Keychron-Q1-Rotary-Encoder-Firmware copied to clipboard

Please publish the source code changes

Open SysAdmLS opened this issue 4 years ago • 7 comments

As already requested on facebook it would be nice if you could share the qmk firmware changes with us so we can build our own firmware or atleast publish the pins the encoder socket uses.

e.g #define ENCODERS_PAD_A { B12 } #define ENCODERS_PAD_B { B13 }

If im not mistaked thats all we really need to build our own firmware as described here : https://beta.docs.qmk.fm/using-qmk/hardware-features/feature_encoders

Thanks for your work

SysAdmLS avatar Sep 10 '21 20:09 SysAdmLS

Here's my version - see the latest commit for the changes I made. I put mine on the gtg465x version of the firmware because I wanted the RGB changes from there, but it should be easy to apply the same changes on another version.

timmcca-be avatar Oct 15 '21 18:10 timmcca-be

I've also got the encoder working, thanks to u/sbeedyfreeze on reddit:

https://reddit.com/r/Keychron/comments/pms2dq/_/hgrjsth/?context=1

My version is here, I kept everything in my "mgor" rev_0102 keymap.

mgor avatar Oct 16 '21 00:10 mgor

@mgor nice to meet you, I'm u/sbeedyfreeze lol

timmcca-be avatar Oct 16 '21 01:10 timmcca-be

@mgor I looked into your code, and it's all based on the ANSI model right?

bloodf avatar Oct 25 '21 20:10 bloodf

@bloodf no, it's the iso version. Afaik, rev 0102 is iso and rev 0100 is ansi.

mgor avatar Oct 25 '21 21:10 mgor

@mgor Yes, sorry I got it wrong :) got it running now :)

bloodf avatar Oct 25 '21 21:10 bloodf

Does anyone have any idea how to replicate the browser tab scroll? I've managed to get volume adjustment working but have no idea how to go about coding multiple encoder functions. I've combed through GitHub without finding many resources.

kebabhut22 avatar Dec 17 '21 22:12 kebabhut22