Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS/2 Mouse and MouseKey integration #101

Closed
tmk opened this issue Mar 17, 2014 · 3 comments
Closed

PS/2 Mouse and MouseKey integration #101

tmk opened this issue Mar 17, 2014 · 3 comments

Comments

@tmk
Copy link
Owner

tmk commented Mar 17, 2014

At this time PS/2 mouse support and mouse key are implemented independently and don't share resource. These can be used at same time but they don't cooperate, completely independent two HID reports are created.

To support multiple pointing devices like mouse key, PS/2 mouse or TrackPoint it should share common code base and resources. API and code need to be refactored.

@tmk tmk changed the title Mouse support refactoring PS/2 Mouse and MouseKey integration Mar 26, 2014
@tmk tmk mentioned this issue May 21, 2015
@tmk tmk added the URGENT label May 21, 2015
@tmk
Copy link
Owner Author

tmk commented Apr 20, 2020

This is contention example on mouse button state of PS/2 mouse and mouse key.
Middle button is assigned to a key using mouse key feature and used with PS/2 mouse. Mouse button state can be overwritten each other.

https://geekhack.org/index.php?topic=41989.msg2889869#msg2889869

@tmk
Copy link
Owner Author

tmk commented Apr 20, 2020

On every mouse report we have to perform 'OR' on all current button states of existed point devices like mouse key, PS/2 mouse and ADB mouse somehow.

tmk added a commit that referenced this issue Nov 13, 2021
This allows users to use mousekey buttons with PS/2, ADB or
Serial pointing device.
@tmk
Copy link
Owner Author

tmk commented Nov 13, 2021

This fix allows users to use mousekey buttons with PS/2, ADB or Serial pointing device.

5f7d388

@tmk tmk closed this as completed Nov 13, 2021
tmk added a commit that referenced this issue Nov 17, 2021
- Initialize keyboard dynamically #671
  Extended and ISO keyboard are properly setup even after hot-plug
- Mouse buttons state integration #101
  This allows users to use mousekey buttons with ADB mouse
- Reset devices on startup
  This restores devices to default state on warm startup like flashing firmware
- mouse extended 16-bit report support
- Add scroll wheel emulation #692
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

No branches or pull requests

1 participant