diff options
author | lokher <lokher@gmail.com> | 2022-09-13 11:13:00 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-09-13 11:13:00 +0800 |
commit | fe13cedf8c09fa34d5cec4e4c624738095176625 (patch) | |
tree | 818436626d49c7f22f325632b2053edba10d4358 /keyboards/kinesis/kint41 | |
parent | fa207545a9759c50b9f230eb608d86a9085801d4 (diff) | |
parent | f46379f308783994b8178f95adc686f4b4c3ebd8 (diff) |
merge upstream master
Diffstat (limited to 'keyboards/kinesis/kint41')
-rw-r--r-- | keyboards/kinesis/kint41/config.h | 13 | ||||
-rw-r--r-- | keyboards/kinesis/kint41/info.json | 9 | ||||
-rw-r--r-- | keyboards/kinesis/kint41/kint41.c | 5 |
3 files changed, 13 insertions, 14 deletions
diff --git a/keyboards/kinesis/kint41/config.h b/keyboards/kinesis/kint41/config.h index 3e13e84606..6df789d631 100644 --- a/keyboards/kinesis/kint41/config.h +++ b/keyboards/kinesis/kint41/config.h @@ -16,18 +16,6 @@ #pragma once -/* USB Device descriptor parameter */ -#undef VENDOR_ID -#define VENDOR_ID 0x1209 -#undef PRODUCT_ID -#define PRODUCT_ID 0x345C -#undef DEVICE_VER -#define DEVICE_VER 0x0001 -#undef MANUFACTURER -#define MANUFACTURER "https://github.com/stapelberg" -#undef PRODUCT -#define PRODUCT "kinT (kint41)" - /* key matrix size */ #define MATRIX_ROWS 15 #define MATRIX_COLS 7 @@ -72,7 +60,6 @@ LINE_PIN6 /* COL_6 */ \ } -#define UNUSED_PINS /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/kinesis/kint41/info.json b/keyboards/kinesis/kint41/info.json new file mode 100644 index 0000000000..45481a5b84 --- /dev/null +++ b/keyboards/kinesis/kint41/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "kinT (kint41)", + "manufacturer": "https://github.com/stapelberg", + "usb": { + "vid": "0x1209", + "pid": "0x345C", + "device_version": "0.0.1" + } +} diff --git a/keyboards/kinesis/kint41/kint41.c b/keyboards/kinesis/kint41/kint41.c index 346bf8cac4..2538b492de 100644 --- a/keyboards/kinesis/kint41/kint41.c +++ b/keyboards/kinesis/kint41/kint41.c @@ -47,7 +47,10 @@ void matrix_output_unselect_delay(uint8_t line, bool key_pressed) { // Empirically: e.g. 5μs is not enough, will result in keys that don’t work // and ghost key presses. 10μs seems to work well. + // On some variants of the hardware, 20μs seems to be required. This was found + // on a combination of KB600LF+stapelberg v2020-06-30+teensy41. + // 600 cycles at 0.6 cycles/ns == 1μs const uint32_t cycles_per_us = 600; - delay_inline(10 * cycles_per_us); + delay_inline(20 * cycles_per_us); } |