Hotline Miami

Hotline Miami

データを表示:
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が行いました; 2013年8月2日 17時12分
< >
1-2 / 2 のコメントを表示
dreser 2013年10月23日 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 2013年10月23日 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).
< >
1-2 / 2 のコメントを表示
ページ毎: 1530 50

投稿日: 2013年8月2日 17時11分
投稿数: 2