mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-11 13:26:17 +02:00
Second and final pass of clearing out tabs.
This commit is contained in:
1 parent
a8ca2c6cc2
commit
3fd87a7636
242 files changed
+1706
-1702
No files matched your search
@@ -218,12 +218,12 @@ bool KeyboardMouse::UpdateOutput()
|
||||
{
|
||||
bool want_on = false;
|
||||
if (m_state_out[i])
|
||||
want_on = m_state_out[i] > GetTickCount() % 255 ; // light should flash when output is 0.5
|
||||
want_on = m_state_out[i] > GetTickCount() % 255 ; // light should flash when output is 0.5
|
||||
|
||||
// lights are set to their original state when output is zero
|
||||
if (want_on ^ m_current_state_out[i])
|
||||
{
|
||||
kbinputs.push_back(KInput(named_lights[i].code)); // press
|
||||
kbinputs.push_back(KInput(named_lights[i].code)); // press
|
||||
kbinputs.push_back(KInput(named_lights[i].code, true)); // release
|
||||
|
||||
m_current_state_out[i] ^= 1;
|
||||
|
||||
Reference in new issue
Block a user