Skip to content

Commit

Permalink
Add Quefrency Rev. 6 (qmk#24291)
Browse files Browse the repository at this point in the history
* Initial commit of Quefrency Rev. 6

* Use more memory for storing VIA layout options

* Add missing underglow LED

* Set bootmagic keys for each half, split transport matrix for RGB, update pinout for right half

* Enable encoders

* Add/update license headers

* Remove fudge thing

* Remove EEPROM leveling specification now that is the default

* Fix bootmagic position for right half
  • Loading branch information
nooges authored and jselig-rigetti committed Aug 28, 2024
1 parent ab29a2d commit 6d0bf7b
Show file tree
Hide file tree
Showing 9 changed files with 706 additions and 17 deletions.
3 changes: 3 additions & 0 deletions keyboards/keebio/quefrency/keymaps/default65/keymap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;
Expand Down
22 changes: 5 additions & 17 deletions keyboards/keebio/quefrency/keymaps/via/config.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
/*
Copyright 2012 Jun Wako <[email protected]>
Copyright 2015 Jack Humbert
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/>.
*/
// Copyright 2024 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

Expand All @@ -32,4 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x00DE
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2

#elif defined(KEYBOARD_keebio_quefrency_rev6)
#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2

#endif
3 changes: 3 additions & 0 deletions keyboards/keebio/quefrency/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
Expand Down
26 changes: 26 additions & 0 deletions keyboards/keebio/quefrency/rev6/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright 2024 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/* Defines for the split keyboard setup */
#define SERIAL_USART_DRIVER SD3 // USART 3
#define SERIAL_USART_TX_PIN B10
#define SERIAL_USART_RX_PIN B11
#define SERIAL_USART_TX_PAL_MODE 7
#define SERIAL_USART_RX_PAL_MODE 7
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_PIN_SWAP

#define USB_VBUS_PIN C6
#define SPLIT_HAND_PIN A0

/* Defines for the RGB matrix */
#ifdef RGB_MATRIX_ENABLE
# define WS2812_PWM_DRIVER PWMD3
# define WS2812_PWM_CHANNEL 4
# define WS2812_PWM_PAL_MODE 10
# define WS2812_DMA_STREAM STM32_DMA1_STREAM2
# define WS2812_DMA_CHANNEL 2
# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM3_UP
#endif
10 changes: 10 additions & 0 deletions keyboards/keebio/quefrency/rev6/halconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2024 Danny Nguyen (@nooges)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define HAL_USE_SERIAL TRUE

#define HAL_USE_PWM TRUE

#include_next <halconf.h>
Loading

0 comments on commit 6d0bf7b

Please sign in to comment.