about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeirdTreeThing <bradyn127@protonmail.com>2024-02-24 22:53:35 -0500
committerWeirdTreeThing <bradyn127@protonmail.com>2024-02-24 22:53:35 -0500
commitdd0b14349c57d204d63c2cffbe2630249677d7a5 (patch)
treeae0d7c7df182474b6be86fcb8a39b9381d273398
parent8b4375bec2901b789b0e040ed591d1e64e542390 (diff)
Fix a silly little error
-rwxr-xr-xcros-keyboard-map.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cros-keyboard-map.py b/cros-keyboard-map.py
index be44b7e..ec791c2 100755
--- a/cros-keyboard-map.py
+++ b/cros-keyboard-map.py
@@ -169,7 +169,7 @@ def main():
     physmap = get_physmap_data()
     if not physmap:
         print("no function row mapping found, using default mapping")
-        if is_x86:
+        if get_arch() == "x86_64":
             physmap = ['EA', 'E9', 'E7', '91', '92', '94', '95', 'A0', 'AE', 'B0']
         else:
             physmap = ['158', '159', '173', '372', '120', '224', '225', '113', '114', '115']