mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-11-15 00:05:33 +00:00
get joystick working again after a decade
This commit is contained in:
parent
e94e9d6b10
commit
e52b25f170
@ -57,7 +57,10 @@ int c_open_joystick() {
|
||||
/* try again with another name */
|
||||
if ((js_fd = open("/dev/joystick", O_RDONLY)) < 0)
|
||||
{
|
||||
return 1; /* problem */
|
||||
if ((js_fd = open("/dev/input/js0", O_RDONLY)) < 0)
|
||||
{
|
||||
return 1; /* problem */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user