mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add a hotkey for inserting/ejecting the SD card
This commit is contained in:
parent
0a7395bfba
commit
e24789b4fb
6 changed files with 32 additions and 11 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue