Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
hatari
Commits
7f65aeaa
Commit
7f65aeaa
authored
Oct 16, 2020
by
bbbradsmith
Browse files
keyboard-via-joystick button should also be B not A (consistent with others)
parent
25a11fd1
Changes
1
Show whitespace changes
Inline
Side-by-side
libretro/hatari-mapper.c
View file @
7f65aeaa
...
...
@@ -515,7 +515,7 @@ void update_input(void)
virtual_kdb
(
bmp
,
vkx
,
vky
);
i
=
RETRO_DEVICE_ID_JOYPAD_
A
;
i
=
RETRO_DEVICE_ID_JOYPAD_
B
;
if
(
input_state_cb
(
0
,
RETRO_DEVICE_JOYPAD
,
0
,
i
)
&&
vkflag
[
4
]
==
0
)
vkflag
[
4
]
=
1
;
else
if
(
!
input_state_cb
(
0
,
RETRO_DEVICE_JOYPAD
,
0
,
i
)
&&
vkflag
[
4
]
==
1
)
...
...
@@ -528,7 +528,6 @@ void update_input(void)
NPAGE
=-
NPAGE
;
oldi
=-
1
;
//Clear interface zone
Screen_SetFullUpdate
();
}
else
if
(
i
==-
1
)
oldi
=-
1
;
...
...
@@ -759,7 +758,6 @@ void input_gui(void)
mouse_r
=
input_state_cb
(
0
,
RETRO_DEVICE_JOYPAD
,
0
,
RETRO_DEVICE_ID_JOYPAD_A
);
PAS
=
SAVPAS
;
}
else
{
...
...
@@ -799,6 +797,5 @@ void input_gui(void)
gmy
=
0
;
if
(
gmy
>
retroh
-
1
)
gmy
=
retroh
-
1
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment