Thanks Mohamed.

I have tested your suggestion, but don't worked for me. Maybe I'm not
doing it right. I have a qwerty keyboard, Spanish distribution.

I have replaced line 99:  
dev.enable(EV_KEY.KEY_APOSTROPHE)

by: 
dev.enable(EV_KEY.KEY_5)

And line 234
value = EV_KEY.KEY_APOSTROPHE
by: 
value = EV_KEY.KEY_5

I also noticed this piece of code, that I'm not sure if I need to change too 
(line 249):
 # Send press key event #
                if value == EV_KEY.KEY_KEY_APOSTROPHE :
                    events = [
                         InputEvent(EV_KEY.KEY_LEFTSHIFT, 1),
                         InputEvent(value, 1),
                         InputEvent(EV_SYN.SYN_REPORT, 0)
                    ]
                else:
                    events = [
                        InputEvent(value, 1),
                        InputEvent(EV_SYN.SYN_REPORT, 0)
                    ]


I'm doing it right?

Very thanks for your help here :D

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to