B_SCROLL_LOCK
= (modifiers & (B_CAPS_LOCK | B_NUM_LOCK | B_SCROLL_LOCK)) != 0;
if ((fModifiers & B_SCROLL_LOCK) != 0)
& (B_CAPS_LOCK | B_SCROLL_LOCK | B_NUM_LOCK);
fNewState.modifiers ^= B_SCROLL_LOCK;
customMods |=B_SCROLL_LOCK;
if (modCode & B_SCROLL_LOCK)
| (modifiers() & (B_CAPS_LOCK | B_SCROLL_LOCK)));
if (mods & B_SCROLL_LOCK)
& (B_CAPS_LOCK | B_NUM_LOCK | B_SCROLL_LOCK)) != 0;
if ((modifiers & B_SCROLL_LOCK) != 0)
fKeys.lock_settings |= B_SCROLL_LOCK;
if ((fKeys.lock_settings & B_SCROLL_LOCK) != 0)
B_SCROLL_LOCK,
return B_SCROLL_LOCK;
if (modifier == B_SCROLL_LOCK)
case B_SCROLL_LOCK:
modifier = B_SCROLL_LOCK;
else if (modifier == B_SCROLL_LOCK)
item = _CreateSwapModifiersMenuItem(B_SCROLL_LOCK, B_SCROLL_LOCK,
else if (indicator->modifier == B_SCROLL_LOCK)
else if (modifier == B_SCROLL_LOCK)
fCurrentMap.SetModifier(unset ? 0x00 : keyCode, B_SCROLL_LOCK);
modifiers &= ~(B_CAPS_LOCK | B_SCROLL_LOCK | B_NUM_LOCK);
case B_SCROLL_LOCK:
case B_SCROLL_LOCK:
LED(B_SCROLL_LOCK,true);
LED(B_SCROLL_LOCK,false);