Hotline Miami > Загальні обговорення > Подробиці теми
scrawl 2 сер 2013 о 17:11
Joystick not working
My wired xbox 360 controller works fine in other games. HLM does not appear to recognize it. I get a "Detect controller /dev/input/js0 failed Operation not permitted 1" message spammed over and over.
It doesn't matter whether I select "No joystick" or "0" in the joystick handle combobox in the launcher.

Ubuntu 12.04 64 bit
Автор останньої редакції: scrawl; 2 сер 2013 о 17:12
Показані коментарі 12 із 2
< >
dreser 23 жов 2013 о 10:44 
I have/had the same problem on Linux Mint 64 bit.
After some research I found it seems to have something to do with a built-in accelerometer in my Acer Notebook and the way Hotline Miami tries to access the Joystick driver.
HM only seems to look for a joystick in /dev/input/js0 which is not a joystick on my notebook.

Try:
cat /proc/bus/input/devices
You might find something like:
...
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Acer BMA150 accelerometer"
P: Phys=wmi/input1
S: Sysfs=/devices/virtual/input/input7
U: Uniq=
H: Handlers=event7 js0
B: PROP=0
B: EV=9
B: ABS=7
...

I also found my joystick is on js1. (try "cat /dev/input/js1" and push some buttons to confirm)

If you do you have the same problem as me.

You can try the following at your own risk:
enter directory /dev/input first:
cd /dev/input
- rename js2 (to keep it safe in case you ever need it)
sudo mv js0 js2
- link js0 to js1 so that HM finds it
sudo ln -s js1 js0

Works for me ...
dreser 23 жов 2013 о 10:45 
Funny thing: now I can select handle 0,1,2 in the starter. Looks like HM scans for available joysticks until there is an error.
The accelerometer can not be read with cat (permission denied).
Показані коментарі 12 із 2
< >
На сторінку: 15 30 50
Опубліковано: 2 сер 2013 о 17:11
Дописів: 2