print("Make sure caps lock and numpad are disabled, if not, do it now and restart the script")
print("Make sure caps lock and numpad are disabled, if not, do it now and restart the script")
print("This script will iterate over all keys, row by row. When a key lights up white, press it, and use the mouse to cancel any F-key effects. First, we'll skip the numpad. If no key lights up, press the bottom-right most key, excluding the numpad().")
print("This script will iterate over all keys, row by row. When a key lights up white, press it, and use the mouse to cancel any F-key effects. First, we'll skip the numpad. If no key lights up, press the bottom-right most key, excluding the numpad(right-arrow).")
set_key_columns(keymap,range(0,18))
set_key_columns(keymap,range(0,18))
print("Now we'll iterate over the numpad, if no key lights up, press the bottom right key(enter)")
print("Now we'll iterate over the numpad, if no key lights up, press the bottom right key(enter)")
set_key_columns(keymap,range(18,22),"num_")
set_key_columns(keymap,range(18,22),"num_")
@ -47,5 +45,5 @@ def iter_keys():
keymap=Keymap()
keymap=Keymap()
keymap.set_keys(iter_keys())
keymap.set_keys(iter_keys())
keymap.write_keymap_file()
keymap.write_keymap_file(keyboard.keyboard_name)
print('Saved keymap to file (.config/openrazer_scripter/keymap.json)')
print('Saved keymap to file (.config/openrazer_scripter/keymap.json)')