Fix duplicate bit masks for caps lock and num lock (#863)
This commit is contained in:
parent
61ff5ae1ce
commit
33b4e37223
@ -721,11 +721,11 @@ bitflags! {
|
|||||||
/// Caps Lock was enabled for this key event.
|
/// Caps Lock was enabled for this key event.
|
||||||
///
|
///
|
||||||
/// **Note:** this is set for the initial press of Caps Lock itself.
|
/// **Note:** this is set for the initial press of Caps Lock itself.
|
||||||
const CAPS_LOCK = 0b0000_1000;
|
const CAPS_LOCK = 0b0000_0010;
|
||||||
/// Num Lock was enabled for this key event.
|
/// Num Lock was enabled for this key event.
|
||||||
///
|
///
|
||||||
/// **Note:** this is set for the initial press of Num Lock itself.
|
/// **Note:** this is set for the initial press of Num Lock itself.
|
||||||
const NUM_LOCK = 0b0000_1000;
|
const NUM_LOCK = 0b0000_0100;
|
||||||
const NONE = 0b0000_0000;
|
const NONE = 0b0000_0000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user