1
0
Fork 0
dosbox-staging/include
krcroft 3446db1ee9 Expand mouse control methods
Replace the [sdl] `autolock = true/false` configuration setting with [sdl]
`capture_mouse = ...` with a two-value setting.

The first value defines how the mouse is controlled:
- onclick:       The mouse will be captured with a click inside the window.
- onstart:       The mouse is captured immediately on start (similar to real DOS).
- seamless:      The mouse will move seamlessly in and out of DOSBox and cannot be captured.
- nomouse:       The mouse is disabled and hidden without any input sent to the game.

The second value defines how middle-clicks are handled:
- middlegame:    Middle-clicks are sent to the game (not used to uncapture the mouse).
- middlerelease: Middle-click will uncapture the mouse when windowed (not sent to the game).

Middle-clicks are sent to the game when fullscreen or when seamless control is set.

The default setting of "onclick middlegame" reproduces DOSBox's existing behavior.
2020-02-02 00:43:24 +01:00
..
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
bios.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
bios_disk.h Remove extern global variable from bios_disk.h 2019-12-18 23:56:28 +01:00
callback.h Acknowledge mouse interrupt before entering user routine; fixes sound stutter during mouse movement in Eye of the Beholder III and Casino Tournament of Champions. Clear button counters in the mouse driver reset function; prevents unintended skipping of intro in MechWarrior and others. 2019-02-04 15:15:58 +00:00
compiler.h Move GCC_ATTRIBUTE out of autoconf 2019-12-29 20:04:39 +01:00
control.h Stop silencing disabled C4786 MSVC warning 2019-12-29 20:04:39 +01:00
cpu.h Improve prefetch and simple cores to not switch to normal core on trap execution. Fixes the demo version of Prehistorik 2 and similar cases that use the trap flag and prefetch tricks. Thanks NewRisingSun. 2019-04-01 22:06:11 +00:00
cross.h Redefine fileno for Windows 2020-01-11 17:50:28 +01:00
debug.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
dma.h Some dma changes to make the world a better place 2019-11-02 11:21:48 +00:00
dos_inc.h Fix unsafe memory operations and warnings in the fatDrive class 2019-12-09 08:19:26 +01:00
dos_system.h Make setter for RO-medium flag a virtual method 2020-01-11 20:52:55 +01:00
dosbox.h Add cga_mono machine 2020-01-29 13:46:23 +01:00
drives.h Improve compliance when printing drive labels 2020-01-22 09:40:00 +01:00
fpu.h Refine stack overflow and underflow for the fpu a bit. 2019-04-01 14:32:18 +00:00
hardware.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
inout.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
ipx.h Indicate system includes for relevant SDL headers 2019-12-26 03:23:19 +01:00
ipxserver.h Indicate system includes for relevant SDL headers 2019-12-26 03:23:19 +01:00
joystick.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
keyboard.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
logging.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
Makefile.am Move drives.h to common include dir 2020-01-04 08:26:22 +01:00
mapper.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
mem.h Prevent unaligned memory access in adlib 2020-01-09 22:50:47 +01:00
midi.h Make it possible to compile without CoreMIDI and CoreAudio on Mac OS X using a non-Apple compiler. Give some feedback to user in this case. (modified version of patch by krcroft with input from jmarsh, Dominus and Qbix) 2019-11-10 14:50:11 +00:00
mixer.h Refactor CD-DA flow by removing intermediate buffers and loops 2019-11-12 08:16:53 +01:00
mouse.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
paging.h Store whether generated code is 16 or 32 bit, so this information can be used when checking for self modifying code. Some code is identical except for being 32 or 16 bit. Fixes some hard to reproduce problems (with small codeblocks). Thanks jmarsh! 2019-04-19 12:16:14 +00:00
pci_bus.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
pic.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
programs.h Fix unsafe memory operations and warnings in the fatDrive class 2019-12-09 08:19:26 +01:00
regs.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
render.h Make frameskip an integer. 2019-10-19 19:52:24 +00:00
serialport.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
setup.h Stop silencing disabled C4786 MSVC warning 2019-12-29 20:04:39 +01:00
shell.h Fix unsafe memory operations and warnings in the fatDrive class 2019-12-09 08:19:26 +01:00
support.h Fix audio-related static analysis issues 2020-01-29 17:13:25 +01:00
timer.h Update year and address of FSF 2019-01-25 14:09:58 +00:00
types.h Use PRIuPTR and define it for Windows GCC 64-bit 2019-12-03 05:12:28 +01:00
vga.h Add cga_mono machine 2020-01-29 13:46:23 +01:00
video.h Expand mouse control methods 2020-02-02 00:43:24 +01:00