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

Commit

Permalink
Mayde mouse init faster and before keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik committed Feb 25, 2024
1 parent 4f932cc commit b458b90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/kernel/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ void init_boot(int debug_info) {
dprintf("[\e[0;32mSystem\e[0m] Initialized PMM\n");
pit_init();
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");
init_keyboard();
dprintf("[\e[0;32mSystem\e[0m] Initialized Keyboard\n");
register_irqs();
dprintf("[\e[0;32mSystem\e[0m] Registered IRQs\n");
rd = init_rd();
Expand Down
2 changes: 1 addition & 1 deletion src/system/wm/wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ void init_taskbar() {
}

void init_wm() {
keyboard.out = 0;
init_wallpaper();
init_taskbar();

Expand All @@ -45,4 +44,5 @@ void init_wm() {
}

should_draw_cursor = true;
keyboard.out = true;
}

0 comments on commit b458b90

Please sign in to comment.