Update to spice2x-25-04-25 (pre-apply)
> broken commit
This commit is contained in:
+2
-2
@@ -428,7 +428,7 @@ void start_reader_thread(const std::string &port, int id) {
|
||||
if (id >= 0) {
|
||||
eamuse_card_insert(id, uid);
|
||||
} else {
|
||||
eamuse_card_insert(GetAsyncKeyState(VK_NUMLOCK) & 1, uid);
|
||||
eamuse_card_insert(GetKeyState(VK_NUMLOCK) & 1, uid);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -436,7 +436,7 @@ void start_reader_thread(const std::string &port, int id) {
|
||||
if (id >= 0) {
|
||||
eamuse_set_keypad_overrides_reader(id, reader.keypad_state);
|
||||
} else {
|
||||
auto unit = GetAsyncKeyState(VK_NUMLOCK) & 1;
|
||||
auto unit = GetKeyState(VK_NUMLOCK) & 1;
|
||||
eamuse_set_keypad_overrides_reader(unit, reader.keypad_state);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user