Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Made mouse init on boot, still only draw on init_wm
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik committed Feb 25, 2024
1 parent bea4979 commit 4f932cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/kernel/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ void init_boot(int debug_info) {
dprintf("[\e[0;32mSystem\e[0m] Initialized PIT\n");
init_keyboard();
dprintf("[\e[0;32mSystem\e[0m] Initialized Keyboard\n");
mouse_init();
dprintf("[\e[0;32mSystem\e[0m] Initialized Mouse\n");
register_irqs();
dprintf("[\e[0;32mSystem\e[0m] Registered IRQs\n");
rd = init_rd();
Expand Down
1 change: 0 additions & 1 deletion src/system/wm/wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,4 @@ void init_wm() {
}

should_draw_cursor = true;
mouse_init();
}

0 comments on commit 4f932cc

Please sign in to comment.