Skip to content

[kernel] Fix PS/2 mouse driver from testing on Bochs emulator#2599

Merged
ghaerr merged 1 commit intomasterfrom
ps2fix
Jan 25, 2026
Merged

[kernel] Fix PS/2 mouse driver from testing on Bochs emulator#2599
ghaerr merged 1 commit intomasterfrom
ps2fix

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Jan 25, 2026

This PR adds working PS/2 mouse support to the kernel driver first added in #2598 and discussed in ghaerr/microwindows#109.

I was able to get the Bochs emulator running which supports PS/2 mice, which allowed for getting the driver working. Only tested on Bochs for now using mouse, not real hardware, copy.sh/v86 or Nano-X, but all should work.

@ghaerr ghaerr merged commit f929a89 into master Jan 25, 2026
1 check passed
@ghaerr ghaerr deleted the ps2fix branch January 25, 2026 05:17
@toncho11
Copy link
Copy Markdown
Contributor

It proves we are on the right path already :)

@toncho11
Copy link
Copy Markdown
Contributor

toncho11 commented Jan 27, 2026

@ghaerr @rafael2k @tyama501

I just tested quickly by setting export MOUSE_TYE=ps2 on the last build and everything worked on copy.86!!!
Like nxdsktop, paint and mouse. I was expecting more testing would be needed.

One thing that does not work is when you exit the application. It seems the keyboard is blocked. You get to the prompt, but you can not type.

Using nxdsktop and paint on copy.86 was a real joy! It was very fluent ... and fast. :) Just the way it should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants