feat(keyboard): renamed keyboard handler function
This commit is contained in:
parent
661d54463a
commit
f4fd174a41
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
static struct ring_buffer keyboard_buffer = { 0 };
|
static struct ring_buffer keyboard_buffer = { 0 };
|
||||||
|
|
||||||
void add_key_to_buffer(void)
|
void keyboard_handler(void)
|
||||||
{
|
{
|
||||||
uint8_t key = inb(KEYBOARD_IO);
|
uint8_t key = inb(KEYBOARD_IO);
|
||||||
write_entry(&keyboard_buffer, key);
|
write_entry(&keyboard_buffer, key);
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void add_key_to_buffer(void);
|
void keyboard_handler(void);
|
||||||
int getkey(void);
|
int getkey(void);
|
||||||
|
|
||||||
#endif /* !KEYBOARD_H */
|
#endif /* !KEYBOARD_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user