Skip to content

Is there any prerequisites before using this? #33

@ye-yu

Description

@ye-yu

I am using Linux and using this package out of the box. Here is what I did.

  1. Install libevdev-tools and libudev-dev.
  2. Add Gradle dependencies
  3. Run the test code:
        final ControllerManager controllerManager = new ControllerManager();
        controllerManager.initSDLGamepad();
        final int numControllers = controllerManager.getNumControllers();
        System.out.println(String.format("There are %d connected controllers", numControllers));

In the last step, I got this message before the application exited

NATIVE METHOD: loading from "/tmp/8117474319126184219.tmp"
result 74 Failed loading udev_device_get_action: /tmp/jnigen/375939362/libsdl2gdx64.so: undefined symbol: _udev_device_get_action

Is there any steps that I am missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions