Hi,
In my machine I have a monitor that can be physically rotated from a horizontal to a vertical position.
I'm looking to create a plugin so that I can control the rotation of my monitor.
However, I'm running into an issue in that I don't believe the system event triggers/exists for the situation that I want (entering/leaving a platform).
To better explain..
(When I say horizontal or vertical I'm referring to the screen physically rotating.)
I will be running in big box mode and will have 2 platforms. Arcade (MAME) and Pinball (Visual Pinball).
When launchbox first starts the main menu (platforms) will be horizontal.
When the Arcade platform is entered it will stay horizontal, but when a game is started it could switch to vertical based on the orientation of the selected game.
On game exit it will return back to horizontal (in the Arcade platform game list).
Then if returned to the main menu, again will stay horizontal.
When the Pinball platform is chosen it will rotate to vertical (w/ hopefully a 'vertical' theme'). All games when started will also be vertical.
On game exit it will stay vertical (in the Pinball platform game list).
Then if returned to the main menu, will rotate back to horizontal.
Hopefully that all makes sense..
The trouble is that the ISystemEventsPlugin doesn't seem to send an event when the platform is entered/exited, so I have no way of rotating the screen when I enter the Pinball platform game list.
Would this be an api feature request, or am I just missing something obvious?
I guess I'm looking to always get an event when entering/leaving each of the menus/submenus.
Also, It seems like the 'events' are there as LEDBlinky gets the 7 message when the initial 'Platforms' starts, the 'Arcade' platform or the 'Pinball' platform is entered and an 8 when they are exited out of.
I know I can probably create an exe and call it ledblinky.exe and use this as a workaround (which is what I used to do in HyperSpin), but wanted to try my hand at a DLL plugin for cleanliness.
Any suggestions?
Thanks
Reehmicks