MCPcopy Create free account
hub / github.com/TASEmulators/fceux / toggleFamilyKeyboardFunc

Function toggleFamilyKeyboardFunc

src/drivers/Qt/input.cpp:767–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767void toggleFamilyKeyboardFunc(void)
768{
769 if (CurInputType[2] == SIFC_FKB)
770 {
771 g_fkbEnabled = !g_fkbEnabled;
772
773 FCEUI_DispMessage("Family Keyboard %sabled.", 0,
774 g_fkbEnabled ? "En" : "Dis");
775 }
776 else
777 {
778 FCEUI_DispMessage("Family Keyboard Not Active", 0);
779 g_fkbEnabled = false;
780 }
781 FKB_CheckShortcutConflicts();
782}
783
784bool isFamilyKeyboardActv(void)
785{

Callers 2

toggleFamKeyBrdEnableMethod · 0.85

Calls 1

Tested by

no test coverage detected