Skip to content

Commit

Permalink
symbols to help determine gestures
Browse files Browse the repository at this point in the history
  • Loading branch information
tul53850 committed Apr 24, 2024
1 parent 71ba21d commit aa26270
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,23 +132,23 @@ def open_settings():

tk.Button(settings_window, text="Open App", command=launch_app ).grid(row=2, column=0, pady=10, padx=10, sticky="ew", columnspan=2)

tk.Label(settings_window, text="Set hotkey 1:").grid(row=3, column=0, pady=10, padx=10, sticky="w")
tk.Label(settings_window, text="👆Set hotkey 1:").grid(row=3, column=0, pady=10, padx=10, sticky="w")
hotkey_entry = tk.Entry(settings_window, textvariable=hotkey_entry_var[0])
hotkey_entry.grid(row=3, column=1, padx=10, sticky="ew")

tk.Label(settings_window, text="Set hotkey 2:").grid(row=4, column=0, pady=10, padx=10, sticky="w")
tk.Label(settings_window, text="👇Set hotkey 2:").grid(row=4, column=0, pady=10, padx=10, sticky="w")
tk.Entry(settings_window, textvariable=hotkey_entry_var[1]).grid(row=4, column=1, padx=10, sticky="ew")

tk.Label(settings_window, text="Set hotkey 3:").grid(row=5, column=0, pady=10, padx=10, sticky="w")
tk.Label(settings_window, text="🤙Set hotkey 3:").grid(row=5, column=0, pady=10, padx=10, sticky="w")
tk.Entry(settings_window, textvariable=hotkey_entry_var[2]).grid(row=5, column=1, padx=10, sticky="ew")

tk.Label(settings_window, text="Set hotkey 4:").grid(row=6, column=0, pady=10, padx=10, sticky="w")
tk.Label(settings_window, text="💅Set hotkey 4:").grid(row=6, column=0, pady=10, padx=10, sticky="w")
tk.Entry(settings_window, textvariable=hotkey_entry_var[3]).grid(row=6, column=1, padx=10, sticky="ew")

tk.Label(settings_window, text="Set hotkey 5:").grid(row=7, column=0, pady=10, padx=10, sticky="w")
tk.Label(settings_window, text="Set hotkey 5:").grid(row=7, column=0, pady=10, padx=10, sticky="w")
tk.Entry(settings_window, textvariable=hotkey_entry_var[4]).grid(row=7, column=1, padx=10, sticky="ew")

tk.Label(settings_window, text="Preset Settings").grid(row=8, column=0, pady=10, padx=10, sticky="ew", columnspan=2, rowspan=2)
tk.Label(settings_window, text="🤘Preset Settings").grid(row=8, column=0, pady=10, padx=10, sticky="ew", columnspan=2, rowspan=2)
tk.Button(settings_window, text="Default", command=lambda: load_preset('default', hotkey_entry_var)).grid(row=10, column=0, pady=10, padx=10, sticky="ew")
tk.Button(settings_window, text="PowerPoint", command=lambda: load_preset('powerpoint', hotkey_entry_var)).grid(row=10, column=1, pady=10, padx=10, sticky="ew")
tk.Entry(settings_window, textvariable=preset).grid(row=11, column=0, padx=10, sticky="ew", columnspan=2)
Expand Down
10 changes: 5 additions & 5 deletions officialVersion/config.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[hotkey]
value = w
value = volumeup

[hotkey2]
value = a
value = volumedown

[hotkey3]
value = s
value = esc

[hotkey4]
value = f
value = left

[hotkey5]
value = space
value = right

10 changes: 5 additions & 5 deletions officialVersion/preset.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ h5 = space

[powerpoint]
preset = powerpoint
h1 = leftarrow
h2 = rightarrow
h3 = f
h4 = d
h5 = a
h1 = left
h2 = right
h3 = esc
h4 = l
h5 = s

[gamer]
preset = gamer
Expand Down

0 comments on commit aa26270

Please sign in to comment.