Hotline Miami > Discussões gerais > Detalhes do tópico
scrawl 2/ago/2013 às 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
Última edição por scrawl; 2/ago/2013 às 17:12
Exibindo comentários 12 de 2
< >
dreser 23/out/2013 às 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.

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: 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/out/2013 às 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).
Exibindo comentários 12 de 2
< >
Por página: 15 30 50

Hotline Miami > Discussões gerais > Detalhes do tópico
Publicado em: 2/ago/2013 às 17:11
Mensagens: 2