Skip to content

Commit c44d35d

Browse files
committed
Add option to start with mouse locked on standalone version
1 parent 8bdd903 commit c44d35d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

core_options.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ namespace DBP_Option
5353
_interface_slowrate,
5454
_interface_systemhotkeys,
5555
_interface_middlemouse,
56+
_interface_lockmouse,
5657
#endif
5758
// General
5859
forcefps,
@@ -219,6 +220,17 @@ static retro_core_option_v2_definition option_defs[DBP_Option::_OPTIONS_TOTAL] =
219220
},
220221
"false"
221222
},
223+
{
224+
"interface_lockmouse",
225+
"Mouse Lock Default Status", NULL,
226+
"Will have the mouse locked at program start if enabled.", NULL,
227+
DBP_OptionCat::General,
228+
{
229+
{ "false", "Off" },
230+
{ "true", "On" },
231+
},
232+
"false"
233+
},
222234
#endif
223235
{
224236
"dosbox_pure_force60fps", // legacy name

0 commit comments

Comments
 (0)