mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Hotkeys: Add "Toggle USB Keyboard" hotkey
This commit is contained in:
parent
14e156c292
commit
e3f36b74c5
6 changed files with 33 additions and 5 deletions
|
@ -238,6 +238,12 @@ void HotkeyScheduler::Run()
|
|||
|
||||
if (wiimote_id > -1)
|
||||
emit ConnectWiiRemote(wiimote_id);
|
||||
|
||||
if (IsHotkey(HK_TOGGLE_USB_KEYBOARD))
|
||||
{
|
||||
Settings::Instance().SetUSBKeyboardConnected(
|
||||
!Settings::Instance().IsUSBKeyboardConnected());
|
||||
}
|
||||
}
|
||||
|
||||
if (IsHotkey(HK_PREV_WIIMOTE_PROFILE_1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue