From 1315dd975c9386caaa31f19e5b23a09a54cc04dc Mon Sep 17 00:00:00 2001 From: Thomas Haukland Date: Tue, 7 May 2024 21:47:53 +0200 Subject: [PATCH] Fix more ghosting: https://github.com/tompi/cheapino/issues/33 Should fix these: M, H, ? M ,Y, ? N, >, K N, >, I Not able to reproduce 4-letter differt row ghosting, and these are probably non-existant irl... --- keyboards/cheapino/cheapino.c | 6 +++--- keyboards/cheapino/ghosting.c | 8 ++++++++ keyboards/cheapino/info.json | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/keyboards/cheapino/cheapino.c b/keyboards/cheapino/cheapino.c index f31afb88741..cfc4592bf4e 100644 --- a/keyboards/cheapino/cheapino.c +++ b/keyboards/cheapino/cheapino.c @@ -28,9 +28,9 @@ uint32_t flash_led(uint32_t next_trigger_time, void *cb_arg) { } void keyboard_post_init_user(void) { - debug_enable=true; - debug_matrix=true; - debug_keyboard=true; + //debug_enable=true; + //debug_matrix=true; + //debug_keyboard=true; //debug_mouse=true; // Store user selected rgb hsv: diff --git a/keyboards/cheapino/ghosting.c b/keyboards/cheapino/ghosting.c index 08db748162c..ae82ff276c2 100644 --- a/keyboards/cheapino/ghosting.c +++ b/keyboards/cheapino/ghosting.c @@ -112,9 +112,17 @@ void fix_ghosting(matrix_row_t matrix[]) { rev(0B1001000000000000), rev(0B0101000000000000), rev(0B0001000000000000)); + fix_ghosting_column(matrix, + rev(0B1001000000000000), + rev(0B1010000000000000), + rev(0B1000000000000000)); fix_ghosting_column(matrix, rev(0B0100100000000000), rev(0B0100010000000000), rev(0B0100000000000000)); + fix_ghosting_column(matrix, + rev(0B0100100000000000), + rev(0B1000100000000000), + rev(0B0000100000000000)); } diff --git a/keyboards/cheapino/info.json b/keyboards/cheapino/info.json index 8546cd05a5a..c7b2d7e61a2 100644 --- a/keyboards/cheapino/info.json +++ b/keyboards/cheapino/info.json @@ -7,7 +7,7 @@ "features": { "bootmagic": true, "command": false, - "console": true, + "console": false, "extrakey": true, "mousekey": true, "nkro": false