marvinbelfort / mx002_linux_driver

2 stars 0 forks source link

Pen identifies as a keyboard, so no remap with xinput for monitor #1

Open marvinbelfort opened 3 months ago

marvinbelfort commented 3 months ago

How to reproduce:

sudo ./mx002
xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
 ....
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ....
    ↳ virtual_keyboard                          id=8    [slave  keyboard (3)]
    ↳ virtual_pen                               id=9    [slave  keyboard (3)]
xinput map-to-output 8 "DP-2"                                                                                                                                                  ─╯
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  36
  Current serial number in output stream:  37
marvinbelfort commented 3 months ago

After using the tablet ( moving the pen or pressing a button ) it identifies correctly.

RoR0R0 commented 2 months ago

thanks for compiling this file, it did recognize the complete tablet area, however. it recognizes the pen as a mouse, and it is dis-configured when the USB is unplugged