From fb8d23c60c757d5d9c2270cb0123a53be2049a28 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 21 Feb 2011 15:43:17 +0900 Subject: integrate V-USB support into ps2_usb --- ps2_usb/matrix.c | 50 +------------------------------------------------- 1 file changed, 1 insertion(+), 49 deletions(-) (limited to 'ps2_usb/matrix.c') diff --git a/ps2_usb/matrix.c b/ps2_usb/matrix.c index aaf89719e..52479d975 100644 --- a/ps2_usb/matrix.c +++ b/ps2_usb/matrix.c @@ -9,8 +9,7 @@ #include "util.h" #include "debug.h" #include "ps2.h" -#include "usb_keyboard.h" -#include "matrix_skel.h" +#include "matrix.h" #if (MATRIX_COLS > 16) @@ -60,8 +59,6 @@ static bool matrix_has_ghost_in_row(uint8_t row); #endif static void matrix_make(uint8_t code); static void matrix_break(uint8_t code); -static void ps2_reset(void); -static void ps2_set_leds(uint8_t leds); inline @@ -78,20 +75,8 @@ uint8_t matrix_cols(void) void matrix_init(void) { - print_enable = true; ps2_host_init(); - ps2_reset(); - - // flush LEDs - ps2_set_leds(1<