Thanks very much, this was a huge help. Based on the advice here, I settled on an ahk that does the job of activating and hiding the second screen, as well as escape to exit (below: just some small changes to what was posted here in case they can be of help to someone).
I too have a Thrustmaster and am stumped on the inputs for accelerator/brake. Everything else works fine. I'd love to hear if you got anywhere. I suspect that having a combined rather than separate axis would work ok but that's not how I'm set up. Currently I have ANALOGUP = 33554433, ANALOGDOWN = 33554689 which gives auto accelerate, best guess is it needs to reverse the input (as in Mame) to register properly.
#SingleInstance, Force
Loop
{
ifwinexist gpuDX11oldhw | FPS: 60 RPS: 60 | Multiboard Slave
If (ErrorLevel = 0 )
{
WinActivate
Winmaximize
WinSet, Style, -0xC40000, A
DllCall("SetMenu", uint, WinExist(), uint, 0) ; Remove menu bar of "last found window".
Break
}
Else
Sleep 1000
Continue
}
Loop
{
ifwinexist gpuDX11oldhw | FPS: 60 RPS: 60 | Ferrari F355 Challenge
If (ErrorLevel = 0 )
{
WinActivate
Winmaximize
WinSet, Transparent, 0, A
Break
}
Else
Sleep 1000
Continue
}
#SingleInstance, Force
DetectHiddenText, On
DetectHiddenWindows, On
SetTitleMatchMode, 2
$Esc::
{
WinClose, gpuDX11oldhw
Sleep, 2000
Process, Close, demul.exe
ExitApp
}