serial_mouse: Add initial files
This commit is contained in:
parent
4923f09377
commit
0e1aeaa2cb
4 changed files with 294 additions and 0 deletions
21
converter/serial_mouse/serial_mouse.c
Normal file
21
converter/serial_mouse/serial_mouse.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
Copyright 2022 Jun Wako <wakojun@gmail.com>
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "debug.h"
|
||||
#include "serial_mouse.h"
|
||||
|
||||
|
||||
void hook_early_init(void)
|
||||
{
|
||||
debug_enable = true;
|
||||
debug_mouse = true;
|
||||
serial_mouse_init();
|
||||
}
|
||||
|
||||
void hook_main_loop(void)
|
||||
{
|
||||
serial_mouse_task();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue