This commit is contained in:
Able 2024-11-03 19:53:09 -06:00
parent b795215b62
commit 086948d47a
5 changed files with 6 additions and 4 deletions

View file

@ -4,7 +4,9 @@ events := @use("events.hb");
.{KeyEvent, MouseEvent} := events .{KeyEvent, MouseEvent} := events
recieve_key_event := fn(): ?KeyEvent { recieve_key_event := fn(): ?KeyEvent {
log.info("hi\0") buf := buffer.search("PS/2 Keyboard\0")
// Read out of the keyboard buffer here
return null return null
} }

View file

@ -1,5 +1,5 @@
[package] [package]
name = "ps2_driver" name = "ps2_keyboard_driver"
authors = ["Talha Qamar"] authors = ["Talha Qamar"]
[dependants.libraries] [dependants.libraries]

View file

@ -49,8 +49,8 @@ path = "boot:///horizon.hbf"
# [boot.limine.ableos.modules.svga_driver] # [boot.limine.ableos.modules.svga_driver]
# path = "boot:///svga_driver.hbf" # path = "boot:///svga_driver.hbf"
# [boot.limine.ableos.modules.ps2_driver] [boot.limine.ableos.modules.ps2_keyboard_driver]
# path = "boot:///ps2_driver.hbf" path = "boot:///ps2_keyboard_driver.hbf"
# [boot.limine.ableos.modules.filesystem_fat32] # [boot.limine.ableos.modules.filesystem_fat32]
# path = "boot:///filesystem_fat32.hbf" # path = "boot:///filesystem_fat32.hbf"