Is the AWT plugin still supported?

hi,

since there are some issues to poll analog values from /dev/input/event on ubuntu (see other thread) i would like to use awt as fallback to have at least mouse support.

AWTEnvironmentPlugin.getDefaultEnvironment().getControllers().length returns 0

do I have to do something special to load the awt plugin? I use the combined distribution.

Hi

Yeah, getDefaultEnvironment will return the super classes environment, which doesn’t include the AWT plugin, what you need is

-Djinput.plugins=net.java.games.input.AWTEnvironmentPlugin -Djinput.useDefaultPlugin=false

That will disable the OS based plugin and enable the AWT one.

HTH

Endolf

perfect, thanks a lot.