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
Stella
Commits
2bb63380
Commit
2bb63380
authored
Mar 31, 2019
by
Stephen Anthony
Browse files
First pass at getting keymap working again for R77.
parent
70748f36
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/emucore/FrameBuffer.cxx
View file @
2bb63380
...
...
@@ -663,6 +663,7 @@ void FrameBuffer::stateChanged(EventHandlerState state)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void
FrameBuffer
::
setFullscreen
(
bool
enable
)
{
#ifdef WINDOWED_SUPPORT
// Switching between fullscreen and windowed modes will invariably mean
// that the 'window' resolution changes. Currently, dialogs are not
// able to resize themselves when they are actively being shown
...
...
@@ -701,6 +702,7 @@ void FrameBuffer::setFullscreen(bool enable)
setCursorState
();
}
myOSystem
.
sound
().
mute
(
oldMuteState
);
#endif
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
...
...
src/unix/r77/SettingsR77.cxx
View file @
2bb63380
...
...
@@ -68,7 +68,7 @@ SettingsR77::SettingsR77()
setPermanent
(
"tv.phosphor"
,
"always"
);
// FIXME - these are out of date, since the # of events has changed since 3.x
setPermanent
(
"keymap"
,
"1
16:40:0:0:0:0:0:0:0:98:95:0:0:0
:15:0:0:0:0:0:
94
:0:0:0:0:0:0:0:
99
:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:
62
:0:
63:64:55:41:42:43:16:17:23:24:53:54:0:61
:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:
96:0:0:0:97:47:0:52:49:46:22:20:19:56:21:59:60:0:0:57:58:44:0:48:0:0:0:45:51:18:5
0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0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0:0:0:0:0:0"
);
setPermanent
(
"joymap"
,
"116^i2c_controller|2 27 27 31 31 0 0 0 0|8 28 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0|0^i2c_controller 2|2 35 35 39 39 0 0 0 0|8 36 40 0 0 0 0 0 0 0 0 0 0 0 0 0 0|0"
);
}
...
...
@@ -88,6 +88,7 @@ bool SettingsR77::saveConfigFile(const string& cfgfile) const
out
<<
"fullscreen = "
<<
getString
(
"fullscreen"
)
<<
endl
;
out
<<
"lastrom = "
<<
getString
(
"lastrom"
)
<<
endl
;
out
<<
"keymap = "
<<
getString
(
"keymap"
)
<<
endl
;
out
.
flush
();
out
.
close
();
...
...
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