Enable PS/2 mouse for TentaPad
This commit is contained in:
parent
fcbddae2cc
commit
ad93671a09
@ -66,6 +66,7 @@ static bool has_ghost_in_row(uint8_t row)
|
||||
}
|
||||
#endif
|
||||
|
||||
extern uint8_t ps2_mouse_enabled;
|
||||
|
||||
void keyboard_init(void)
|
||||
{
|
||||
@ -77,7 +78,7 @@ void keyboard_init(void)
|
||||
#endif
|
||||
|
||||
#ifdef PS2_MOUSE_ENABLE
|
||||
if (ps2_enabled()) {
|
||||
if (ps2_mouse_enabled) {
|
||||
ps2_mouse_init();
|
||||
}
|
||||
#endif
|
||||
@ -163,7 +164,7 @@ MATRIX_LOOP_END:
|
||||
#endif
|
||||
|
||||
#ifdef PS2_MOUSE_ENABLE
|
||||
if (ps2_enabled()) {
|
||||
if (ps2_mouse_enabled) {
|
||||
ps2_mouse_task();
|
||||
}
|
||||
#endif
|
||||
|
@ -91,7 +91,6 @@ uint8_t ps2_host_send(uint8_t data);
|
||||
uint8_t ps2_host_recv_response(void);
|
||||
uint8_t ps2_host_recv(void);
|
||||
void ps2_host_set_led(uint8_t usb_led);
|
||||
uint8_t ps2_enabled(void);
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user