Ok Mohamed,

I still need your help. I have tried this :

 if value == EV_KEY.KEY_APOSTROPHE
                    events = [
                         InputEvent(EV_KEY.KEY_LEFTSHIFT, 1),
                         InputEvent(value, 1),
                         InputEvent(EV_SYN.SYN_REPORT, 0)
                    ]
                else:
                    events = [
                        InputEvent(EV_KEY.KEY_NUMLOCK, 1),
                        InputEvent(value, 1),
                        InputEvent(EV_SYN.SYN_REPORT, 0)
                    ]

But I get this error :

SyntaxError: invalid syntax

What is wrong in my code ?

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to