Skip to content

Function keysym_to_keycode return 0 #266

Open

Description

@Candy-Cao

i use code below to get the keycode of 'a',but it return 0, what should i do?

from Xlib import X, XK, display
from Xlib.ext import xtest

d = display.Display()
keycode = d.keysym_to_keycode(XK.string_to_keysym('a'))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions