Skip to content

Potential fix for linux input #198

Description

@TokuMSK

Greetings, so as implied by the title, this is a potential fix for linux input not working (do remember that it only has a real effect if Wine Workaround is enabled), where, as seen in a log in the issue #185 , the user who shared the log showed that there was a missing library, or should i say, an unloaded one. So, because the mod depends on this library being loaded in order to register inputs, when he tried to run the game with the mod, the mod was not working because of it not being loaded when requested. To fix this, simply set this as an environment variable (or launch option, for example, if you are playing it through steam):

LD_PRELOAD="/usr/lib/libevdev.so.2"
(consider this particular location as a symlink if you encounter that, but nevertheless, it will still work, as long as it points to the corresponding library).

Edit: if the above does not work or stops working after a while, the following is preferable when preloading a library: LD_PRELOAD="$LD_PRELOAD=/usr/lib/libevdev.so.2"

Edit 2: if CBF is still not working, make sure to check on the System Monitor/Task Manager of your preference if "linux-input.so" is up and running along with the game, as CBF needs it to register inputs between frames on Wine.

Do note that, at least in my case, the order of the variables you use may affect the behaviour of the application, for instance, i have that variable set as the first option on the line, but if it still works regardless of the order, good then.

@theyareonit, greetings, hope you are doing well, make sure to test this potential fix i found out about, just so you could confirm that it effectively works and also warn about it, like when you warned about the input group.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions