Skip to content

Conversation

@Da4HuK
Copy link

@Da4HuK Da4HuK commented May 29, 2022

  1. Added call load_input_helper() into on_library_load.
    In case if you want just post events without hooks then it lead to usage of xfree86_scancode_table even if evdev available.
    It leads that keys e.g. VC_UP, VC_DOWN, etc. works incorrectly.

  2. Fixed checks for XTestFake functions.
    According to source code, functions XTestFakeKeyEvent, XTestFakeButtonEvent, XTestFakeMotionEvent always returns 1.
    Please see https://github.com/freedesktop/xorg-libXtst/blob/master/src/XTest.c

__FUNCTION__, __LINE__, "XOpenDisplay success.");
}

load_input_helper();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to run on library load?

@kwhat kwhat force-pushed the 1.3 branch 2 times, most recently from 7d51994 to 90c2248 Compare May 7, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants