Skip to content

Commit 2b2018d

Browse files
committed
Merge remote-tracking branch 'origin/master' into usb-bochs
2 parents f6caf3e + bc117cf commit 2b2018d

37 files changed

+3372
-2628
lines changed

src/86box.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ int video_fullscreen_scale_maximized = 0; /* (C) Whether
207207
also apply when maximized. */
208208
int do_auto_pause = 0; /* (C) Auto-pause the emulator on focus
209209
loss */
210+
int raw_input = 0; /* (C) Use raw input */
210211
char uuid[MAX_UUID_LEN] = { '\0' }; /* (C) UUID or machine identifier */
211212

212213
int other_ide_present = 0; /* IDE controllers from non-IDE cards are
@@ -562,6 +563,7 @@ pc_init(int argc, char *argv[])
562563
printf("-S or --settings - show only the settings dialog\n");
563564
#endif
564565
printf("-V or --vmname name - overrides the name of the running VM\n");
566+
printf("-W or --raw - uses raw input (compatibility-only outside Windows)\n");
565567
printf("-X or --clear what - clears the 'what' (cmos/flash/both)\n");
566568
printf("-Y or --donothing - do not show any UI or run the emulation\n");
567569
printf("-Z or --lastvmpath - the last parameter is VM path rather than config\n");
@@ -637,6 +639,8 @@ pc_init(int argc, char *argv[])
637639
dump_missing = 1;
638640
} else if (!strcasecmp(argv[c], "--donothing") || !strcasecmp(argv[c], "-Y")) {
639641
do_nothing = 1;
642+
} else if (!strcasecmp(argv[c], "--raw") || !strcasecmp(argv[c], "-W")) {
643+
raw_input = 1;
640644
} else if (!strcasecmp(argv[c], "--keycodes") || !strcasecmp(argv[c], "-K")) {
641645
if ((c + 1) == argc)
642646
goto usage;

0 commit comments

Comments
 (0)