geekhack

geekhack Community => Keyboards => Topic started by: Pyne on Tue, 15 January 2019, 01:25:14

Title: rotary encode in QMK
Post by: Pyne on Tue, 15 January 2019, 01:25:14
Hello,

I created my own keyboard with an Pro Micro by using kbfirmware.com and everything is working fine. Now I wanted to add a rotary encoder into the matrix. When I connect signal A&B of the encoder to lets say row 1 & 2 and GND to Column 1, the encoder will write AB or BA when rotating counter clockwise.

Can someone help me how I can define volume down and volume up to the Quantum Functions? I assume that the code needs to be added there.

I'm new to this and everything I tried failed.

Thanks in advance
Title: Re: rotary encode in QMK
Post by: mxgian99 on Tue, 15 January 2019, 10:06:45
i think there is some work already done around this, have you seen this?  https://www.reddit.com/r/olkb/comments/9jzbg1/help_with_rotary_encoder_code/e8elobo/

i think the planck guys are the furthest along at the moment.
Title: Re: rotary encode in QMK
Post by: Pyne on Wed, 16 January 2019, 15:34:30
Ah coll, i will check it out!