We add support for the newer Xppen tablet mini7.#605
Open
MikuChan03 wants to merge 1 commit into
Open
Conversation
The thing is that the tablet reports the buttons as keyboard events. This can only be circumvented by using the vendor defined usage and usage page, for which the events are reported in a unified format. To activate this interface, we need to send a a certain key on a certain endpoint, shown in: https://github.com/nic3-14159/uclogic-new-init Still this interface is opaque in that the report descritpor only shows the length, not what the individual bits do. Therefore we need to add two more devices, one for the pen and one for the buttons. The first interface doesn't go away but doesn't report anything either, since it's reports are translated into the other two devices. I have called this original device "VendorDevice". Once all this is done, native support with the wacom driver is achieved. Though since the wacom driver doesn't recognize the IDs yet, we are in need of X config file like: Section "InputClass" Identifier "xppen wacom all" MatchUSBID "28bd:0928" Driver "wacom" EndSection That's all.
|
Since a62702f has already been merged, this PR (mainly hid-uclogic-params.c) should probably be adapted to use code from that commit, as that commit already implements the new initialization procedure for these newer XP-Pen/Ugee tablets. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The thing is that the tablet reports the buttons as keyboard events.
This can only be circumvented by using the vendor defined
usage and usage page, for which the events are reported in a
unified format. To activate this interface, we need to send a
a certain key on a certain endpoint, shown in:
https://github.com/nic3-14159/uclogic-new-init
Still this interface is opaque in that the report descritpor only
shows the length, not what the individual bits do.
Therefore we need to add two more devices, one for the pen and
one for the buttons. The first interface doesn't go away but
doesn't report anything either, since it's reports are translated
into the other two devices. I have called this original device
"VendorDevice".
Once all this is done, native support with the wacom driver
is achieved. Though since the wacom driver doesn't recognize
the IDs yet, we are in need of X config file like:
Section "InputClass"
Identifier "xppen wacom all"
MatchUSBID "28bd:0928"
Driver "wacom"
EndSection
That's all.