Add a hotkey for inserting/ejecting the SD card

This commit is contained in:
JosJuice
2019-07-03 22:34:07 +02:00
parent 0a7395bfba
commit e24789b4fb
6 changed files with 32 additions and 11 deletions

View File

@ -248,6 +248,9 @@ void HotkeyScheduler::Run()
if (wiimote_id > -1)
emit ConnectWiiRemote(wiimote_id);
if (IsHotkey(HK_TOGGLE_SD_CARD))
Settings::Instance().SetSDCardInserted(!Settings::Instance().IsSDCardInserted());
if (IsHotkey(HK_TOGGLE_USB_KEYBOARD))
{
Settings::Instance().SetUSBKeyboardConnected(