diff options
author | adophoxia <[email protected]> | 2023-10-04 21:59:06 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-04 21:59:06 -0700 |
commit | 5f33a251b32677cc2cbc71adf47b1e1969d15598 (patch) | |
tree | 3d1a12ee658faa535f83d0cc488cb235628754c9 /keyboards/keychron/q0/base/config.h | |
parent | 70f0c279f97901f6f133285aef6dab6dac18fbc5 (diff) | |
download | qmk_firmware-5f33a251b32677cc2cbc71adf47b1e1969d15598.tar.gz qmk_firmware-5f33a251b32677cc2cbc71adf47b1e1969d15598.zip |
Update Keychron Q0 (#22068)
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Duncan Sutherland <[email protected]>
Diffstat (limited to 'keyboards/keychron/q0/base/config.h')
-rw-r--r-- | keyboards/keychron/q0/base/config.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/keychron/q0/base/config.h b/keyboards/keychron/q0/base/config.h new file mode 100644 index 0000000000..566f808762 --- /dev/null +++ b/keyboards/keychron/q0/base/config.h @@ -0,0 +1,27 @@ +/* Copyright 2022 @ Keychron (https://www.keychron.com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +/* RGB Matrix Driver Configuration */ +#define SNLED27351_DRIVER_COUNT 1 +#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND + +/* RGB Matrix Configuration */ +#define RGB_MATRIX_LED_COUNT 21 + +/* Enable num-lock LED */ +#define NUM_LOCK_LED_INDEX 4 |