Merge pull request #1066 from keyboardio/unicode/numpad-linux

pull/1054/head
Jesse Vincent 4 years ago committed by GitHub
commit 5490da6e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -95,7 +95,7 @@ void Unicode::typeCode(uint32_t unicode) {
if (digit == 0) { if (digit == 0) {
if (on_zero_start == false) { if (on_zero_start == false) {
Key key; Key key;
if (::HostOS.os() == hostos::WINDOWS) { if (::HostOS.os() != hostos::OSX) {
key = hexToKeysWithNumpad(digit); key = hexToKeysWithNumpad(digit);
} else { } else {
key = hexToKey(digit); key = hexToKey(digit);
@ -109,7 +109,7 @@ void Unicode::typeCode(uint32_t unicode) {
} }
} else { } else {
Key key; Key key;
if (::HostOS.os() == hostos::WINDOWS) { if (::HostOS.os() != hostos::OSX) {
key = hexToKeysWithNumpad(digit); key = hexToKeysWithNumpad(digit);
} else { } else {
key = hexToKey(digit); key = hexToKey(digit);

Loading…
Cancel
Save