Comments (5)
It's suppose the using libei, or a tool that uses lbei: https://gitlab.freedesktop.org/libinput/libei/
something like uinput would also work, but it's lower level
@kurikaesu any tips of where to implement this? I'm tempted to detect wayland using "XDG_SESSION_TYPE" env var and use this library to send keys
from userspace-tablet-driver-daemon.
Interesting. I've tested my tablets under wayland and the express/shortcut keys appear to work correctly. Granted, I have not done this anytime recently. I wonder if it is because the KD100 is not being identified as a keyboard device. With xorg/X11 the configuration files force the device to be handled by libinput.
from userspace-tablet-driver-daemon.
I own a HS611 and default customization provided by GNOME mostly works (it just miss some side bar keys and upper scroll)
for KD100
looks it behaves as no driver mode when just connected,
https://support.huion.com/en/support/solutions/articles/44002245976-huion-mini-keydial-kd100-faqs
although it doesn't match for me. It exposes:
k1 Ctrl+Z
k2 Ctrl+Shift+Z
k5 Ctrl+Space
k6 F5
rest of keys and dial are empty.
I need to clear any setup I made rm ~/.local/share/userspace_tablet_driver_daemon/driver.cfg
or no key works for me.
I understand from lsusb:
Bus 001 Device 005: ID 256c:006d
I need to rework something on src/huion_handler.cpp
but not sure where
and using your userspace server it outputs
from userspace-tablet-driver-daemon.
hmm looks like it is behaving as keystrokes for GNOME tablet:
it only exposes 8 keys, while this device has 16 square buttons + two large buttons + dial + 1 mouse button
still your userspace server + wayland looks interesting to implement to me
from userspace-tablet-driver-daemon.
Finally I found two problems:
- wayland integration is done with libwacom on GNOME OS.
- connection:
-
wired connection this device expose
Bus 001 Device 006: ID 256c:006d HUION Huion Tablet_HS611
-
but through usb dongle
Bus 001 Device 005: ID 256c:006d
-
my approach was to expose how you detect real device through wireless usb dongle (firmware) to libwacom:
I think expose device through a common library api allows to deal with devices easily. What do you think?
Still able to collaborate here to add wayland support if you need. Reopen if you want to see it implemented, probably a general issue (implement wayland support is a better idea and this would be just a use case to test)
from userspace-tablet-driver-daemon.
Related Issues (20)
- Prepping for 0.1.4 release HOT 1
- Won't work unless I trigger it HOT 1
- After install.. HOT 2
- Configuration file is overwritten with default values HOT 7
- XP-Pen Deco Pro MW
- Run as a service? HOT 1
- XP-Pen Artist 16 Pro support HOT 34
- Dual roller support HOT 3
- Eraser support HOT 4
- Why are there new releases every hour? HOT 2
- XP-Pen Deco mini7 works only partially HOT 3
- Would this work on FreeBSD? HOT 4
- How to get "userspace-tablet-driver-daemon" work on FreeBSD 13.1? HOT 4
- the monitor remapping problem in startup HOT 7
- XP-Pen Artist 22E Pro not recognized HOT 10
- Package openjdk-16-jre is not installed. HOT 2
- Driver not mapping buttons for XP Pen Deco 03
- The driver works for Artist Pro 16 (Gen2) HOT 4
- XP-Pen Deco Pro MW Buttons are not recognized over bluetooth after turning tablet back on.
- Support for XP-PEN Star03 V2 8192
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from userspace-tablet-driver-daemon.