From 9a43ead118ec1506848bad9d2bcddfb0fd458552 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 7 Aug 2022 22:07:27 +0200 Subject: kernel: ps2 mouse support --- src/kernel/arch/amd64/interrupts/irq.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kernel/arch/amd64/interrupts/irq.h') diff --git a/src/kernel/arch/amd64/interrupts/irq.h b/src/kernel/arch/amd64/interrupts/irq.h index 2a4b12d..3243224 100644 --- a/src/kernel/arch/amd64/interrupts/irq.h +++ b/src/kernel/arch/amd64/interrupts/irq.h @@ -4,8 +4,9 @@ #define IRQ_IBASE 0x20 #define IRQ_PIT 0 -#define IRQ_PS2 1 +#define IRQ_PS2KB 1 #define IRQ_COM1 4 +#define IRQ_PS2MOUSE 12 void irq_init(void); void irq_eoi(uint8_t line); -- cgit v1.2.3