summaryrefslogtreecommitdiff
path: root/keyboards/handwired/pterodactyl
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/pterodactyl')
-rw-r--r--keyboards/handwired/pterodactyl/config.h4
-rw-r--r--keyboards/handwired/pterodactyl/info.json3
-rw-r--r--keyboards/handwired/pterodactyl/matrix.c4
-rw-r--r--keyboards/handwired/pterodactyl/rules.mk6
4 files changed, 5 insertions, 12 deletions
diff --git a/keyboards/handwired/pterodactyl/config.h b/keyboards/handwired/pterodactyl/config.h
index eb67deecc4..6ca97d3e73 100644
--- a/keyboards/handwired/pterodactyl/config.h
+++ b/keyboards/handwired/pterodactyl/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-#include "config_common.h"
#define DIODE_DIRECTION COL2ROW
#define MATRIX_ROWS 6
@@ -50,6 +49,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* fix space cadet rollover issue */
#define DISABLE_SPACE_CADET_ROLLOVER
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 0
diff --git a/keyboards/handwired/pterodactyl/info.json b/keyboards/handwired/pterodactyl/info.json
index 77d5db7ec7..ac0c498da7 100644
--- a/keyboards/handwired/pterodactyl/info.json
+++ b/keyboards/handwired/pterodactyl/info.json
@@ -8,6 +8,9 @@
"pid": "0x1308",
"device_version": "0.0.2"
},
+ "processor": "atmega32u4",
+ "bootloader": "caterina",
+ "debounce": 0,
"layouts": {
"LAYOUT_pterodactyl": {
"layout": [
diff --git a/keyboards/handwired/pterodactyl/matrix.c b/keyboards/handwired/pterodactyl/matrix.c
index 9d81a64bb4..c12cf5a322 100644
--- a/keyboards/handwired/pterodactyl/matrix.c
+++ b/keyboards/handwired/pterodactyl/matrix.c
@@ -137,7 +137,7 @@ void matrix_init(void)
matrix_debouncing[i] = 0;
}
- matrix_init_quantum();
+ matrix_init_kb();
}
void init_expander(void) {
@@ -278,7 +278,7 @@ uint8_t matrix_scan(void)
}
# endif
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
}
diff --git a/keyboards/handwired/pterodactyl/rules.mk b/keyboards/handwired/pterodactyl/rules.mk
index fd63e2ad48..eb2487d410 100644
--- a/keyboards/handwired/pterodactyl/rules.mk
+++ b/keyboards/handwired/pterodactyl/rules.mk
@@ -1,12 +1,6 @@
-# MCU name
-MCU = atmega32u4
-
# Processor frequency
F_CPU = 8000000
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#