diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-16 08:19:05 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-16 08:19:05 +0200 |
commit | 1e8bad98827b651009a8ad4b8134d8a72a004be3 (patch) | |
tree | 3c93acf15ff42d3f07d807d02852f43d8ac21b1b /src/drivers/hdi/ps2/keyboard.h | |
parent | 21c1989527191fa3739984a167d7a1cf939cfd6b (diff) | |
download | abaos-1e8bad98827b651009a8ad4b8134d8a72a004be3.tar.gz abaos-1e8bad98827b651009a8ad4b8134d8a72a004be3.tar.bz2 |
moved registering of mouse/keyboard interrupts into the driver activation instead
of having them directly in kernel.c
also more standardization of the driver init functions (mouse set_resolution instead
of constructor parameters res_x and res_y)
Diffstat (limited to 'src/drivers/hdi/ps2/keyboard.h')
-rw-r--r-- | src/drivers/hdi/ps2/keyboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/hdi/ps2/keyboard.h b/src/drivers/hdi/ps2/keyboard.h index c80b363..a0e06ef 100644 --- a/src/drivers/hdi/ps2/keyboard.h +++ b/src/drivers/hdi/ps2/keyboard.h @@ -51,6 +51,7 @@ typedef struct { port8_t data_port; bool shift; keyboard_event_handler_t handler; + interrupt_handler_t interrupt_handler; } keyboard_t; typedef struct { |