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

Basic keyboard support #1

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

RockyZeroFour
Copy link
Collaborator

@RockyZeroFour RockyZeroFour commented Apr 10, 2024

  • new detection mode for keyboard support
  • when the click or motion detection mode is selected it primarily searches for a boot mouse interface
  • when the key detection mode is selected it primarily searches for a boot keyboard interface

@RockyZeroFour RockyZeroFour marked this pull request as ready for review April 11, 2024 19:33
@RockyZeroFour RockyZeroFour requested a review from simon-wh April 11, 2024 19:34
@RockyZeroFour RockyZeroFour added the enhancement New feature or request label Apr 11, 2024
maximevince and others added 21 commits April 29, 2024 15:34
- Prevent overflow of the next graph value
- Also considers large coordinates now
- Show the same amount of data points as total ticks
- This fixes the problem that only 10 data points are mapped to 11 points of the X axis
- Removed the chart range for the X axis because that only apply for the scatter graph type while the bar type is used instead
If we want to prescale the timer by 100, ARR needs to be set to 99.
When searching for interfaces, when a mouse isn't found, accept any
interface, even if the subclass isn't "Boot".

This lets us connect things like game controllers.
So that GitHub doesn't complain.
- new detection mode for keyboard support
- when the click or motion detection mode is selected it primarily searches for a boot mouse interface
- when the key detection mode is selected it primarily searches for a boot keyboard interface
-
- Allows to select a specific interface number in which a mouse or keyboard report is searched
- If set to AUTO it will search in the first corresponding boot interface
- Fix the usage of reportIDs, before one the reportID one was checked if reportIDs were used
- Show the reportID of the found device
- Correct usage of the current interface number for requests
- Displaying the connected device even when unsupported
- Better identification if a mouse or keyboard is currently searched
- Suppress the mentioning of the word "HID" when a device is connected
- The HID interface type detection no longer falls back to a mouse if the interface protocol code is set to None instead of a moiuse or keyboard boot code
- The HID event handling now only relies on the selected detection mode and if the related function was found during the parsing of the HID report descriptor
@RockyZeroFour RockyZeroFour force-pushed the feature/keyboard-support branch 2 times, most recently from 8b9f40f to 7670db9 Compare January 31, 2025 11:30
- Fixes the issue that a later mouse report can overwrite the keyboard report
- Report ID assignment now depends on the detection mode
@RockyZeroFour RockyZeroFour force-pushed the feature/keyboard-support branch 2 times, most recently from c0c18b9 to 7789c83 Compare February 2, 2025 10:49
@RockyZeroFour RockyZeroFour force-pushed the feature/keyboard-support branch 2 times, most recently from 5ab01d6 to 8e96d85 Compare February 3, 2025 11:04
- Possibility to filter for a specific report ID
- Allows to select wanted report if interface has multiple reports of the same kind
@RockyZeroFour RockyZeroFour force-pushed the feature/keyboard-support branch from 8e96d85 to 4e6767a Compare February 3, 2025 11:22
- Separates the handling of the motion data from the button data
- Allows to handle reports with buttons which don't have motion data
- Enables to test gamepads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants