- Made formatting improvements

This commit is contained in:
Ben Reaves
2020-06-01 14:49:49 -05:00
parent 0adc44907c
commit e741989128

View File

@@ -167,7 +167,7 @@ counter = 0
while True: while True:
print(color.UNDERLINE + color.YELLOW + "\n\nPress the 1st key Left of the spacebar" + color.END + " (Press Esc to set manaully)\n") print(color.UNDERLINE + color.YELLOW + "\n\nPress the 1st key Left of the spacebar" + color.END + " (Press Esc to set manaully)\n")
print(" 👇 \n") print(" 👇")
print(" □ □ ▣ ░░░░░░░\n") print(" □ □ ▣ ░░░░░░░\n")
# listener = Listener(on_release=is_primary,suppress=True) # listener = Listener(on_release=is_primary,suppress=True)
# listener.start() # listener.start()
@@ -203,7 +203,7 @@ print(chr(27) + "[2J")
while True: while True:
print(color.UNDERLINE + color.YELLOW + "\n\nPress the 2nd key Left of the spacebar" + color.END + " (Press Esc to set manaully)\n") print(color.UNDERLINE + color.YELLOW + "\n\nPress the 2nd key Left of the spacebar" + color.END + " (Press Esc to set manaully)\n")
print(" 👇\n") print(" 👇")
print(" □ ▣ □ ░░░░░░░\n") print(" □ ▣ □ ░░░░░░░\n")
# with Listener( # with Listener(
@@ -233,8 +233,8 @@ print(chr(27) + "[2J")
while True: while True:
print(color.UNDERLINE + color.YELLOW + "\n\nPress the 1st key Right of the spacebar" + color.END + " (Press Esc to set manaully)\n") print(color.UNDERLINE + color.YELLOW + "\n\nPress the 1st key Right of the spacebar" + color.END + " (Press Esc to set manaully)\n")
print(" 👇 \n") print(" 👇")
print(" ░░░░░░░ ▣ □ \n") print(" ░░░░░░░ ▣ □")
# with Listener( # with Listener(
# on_release=is_rprimary,suppress=True) as listener: # on_release=is_rprimary,suppress=True) as listener:
@@ -263,8 +263,8 @@ print(chr(27) + "[2J")
while True: while True:
print(color.UNDERLINE + color.YELLOW + "\n\nPress the 2nd key Right of the spacebar" + color.END + " (Press Esc to set manaully)\n") print(color.UNDERLINE + color.YELLOW + "\n\nPress the 2nd key Right of the spacebar" + color.END + " (Press Esc to set manaully)\n")
print(" 👇\n") print(" 👇")
print(" ░░░░░░░ □ ▣ \n") print(" ░░░░░░░ □ ▣")
# with Listener( # with Listener(
# on_release=is_rsecondary,suppress=True) as listener: # on_release=is_rsecondary,suppress=True) as listener:
@@ -291,10 +291,10 @@ while True:
print(chr(27) + "[2J") print(chr(27) + "[2J")
if modifier_keys["secondary"] != "Ctrl": if not (modifier_keys["secondary"] == "Ctrl" or modifier_keys["secondary"] == "Control_R"):
print(color.UNDERLINE + color.YELLOW + "GUI Usage (Physical Ctrl key)\n"+ color.END) print(color.UNDERLINE + color.YELLOW + "GUI Usage (Physical Ctrl key)\n"+ color.END)
print("Ctrl key will be mapped to Super. (Search key on chromebooks)\n") print("Ctrl key will be mapped to Super. (Search key on chromebooks)")
print("👇\n") print("👇")
print(" ▣ □ □ ░░░░░░░\n") print(" ▣ □ □ ░░░░░░░\n")
print("Note: Super may still activate Ctrl based shortcuts\n") print("Note: Super may still activate Ctrl based shortcuts\n")
@@ -305,19 +305,33 @@ if modifier_keys["secondary"] != "Ctrl":
# print(chr(27) + "[2J") # print(chr(27) + "[2J")
print(color.UNDERLINE + color.YELLOW + "Terminal Usage" + color.END + "\n") print(color.UNDERLINE + color.YELLOW + "Terminal Usage" + color.END + "\n")
print("Ctrl key will be the Ctrl key.\n") print("Ctrl key will be the Ctrl key.")
print("👇\n") print("👇")
print(" ▣ □ □ ░░░░░░░\n\n") print(" ▣ □ □ ░░░░░░░\n")
print("The Cmd ⌘ key position during terminal usage will usually be Ctrl+Shift.\n") print("The Cmd ⌘ key position during terminal usage will usually be Ctrl+Shift.")
print(" 👇 \n") print(" 👇 ")
print(" □ □ ▣ ░░░░░░░\n\n") print(" □ □ ▣ ░░░░░░░\n")
input("Press Enter to continue...\n\n") input("Press Enter to continue...\n")
else: else:
print("Chromebook detected.") print("Chromebook detected.")
print(color.UNDERLINE + color.YELLOW + "GUI Usage\n"+ color.END)
print("Search key (capslock position) on chromebooks will be Super\n")
print("Note: Super may still activate Ctrl based shortcuts")
print("at times depending on application or system level shortcuts.\n")
print("Efforts have been made though to use the physical Ctrl key")
print("when it makes sense to do so, and more often than standard")
print("keyboards. How it feels to type is more important than technical")
print("accuracy.\n")
print("If you believe an improvement can be made or an error was made")
print("please let me know on github or you can fork this project.\n")
input("Press Enter to continue...\n\n")
print(color.UNDERLINE + color.YELLOW + "Terminal Usage" + color.END + "\n") print(color.UNDERLINE + color.YELLOW + "Terminal Usage" + color.END + "\n")
print(" □ capslock/search key = Alt\n") print(" □ capslock/search key = Alt")
print(" shift\n") print(" shift")
print(" ▣ □ ░░░░░░░") print(" ▣ □ ░░░░░░░")
print("☝️\n") print("☝️\n")