Skip to content

Commit

Permalink
Rotary encoder setting revised to solve a mulfunction. (an update of …
Browse files Browse the repository at this point in the history
…Asymmetric encoders, encoder tests. (qmk#16068) is applied.)
  • Loading branch information
3araht committed Aug 31, 2022
1 parent 9911b45 commit a41e47f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions keyboards/giabalanai/config.h
Expand Up @@ -278,16 +278,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* Encoder options
*/
#ifdef ENCODER_ENABLE
# define ENCODERS_PAD_A { C7 } // dummy
# define ENCODERS_PAD_B { B7 } // dummy
# define ENCODERS_PAD_A { }
# define ENCODERS_PAD_B { }
# define ENCODER_RESOLUTIONS { }
# define ENCODERS_PAD_A_RIGHT { B4 }
# define ENCODERS_PAD_B_RIGHT { B6 }
# define ENCODER_RESOLUTION 4
# define ENCODER_RESOLUTIONS_RIGHT { 4 }
# define TAP_CODE_DELAY 10

# define ENCODERS 2
# define ENCODERS_CW_KEY { {9, 7}, {9, 6} }
# define ENCODERS_CCW_KEY { {8, 7}, {8, 6} }
# define ENCODERS 1
# define ENCODERS_CW_KEY { {9, 6} }
# define ENCODERS_CCW_KEY { {8, 6} }
#endif // ENCODER_ENABLE

/* 2021/01/22 added to shrink firmware size */
Expand Down

0 comments on commit a41e47f

Please sign in to comment.