Skip to content

Commit 8da4fc2

Browse files
committed
New shortcuts
1 parent 6f4fa49 commit 8da4fc2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

MacroKeyPad.pyw

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! python3
22
import pyautogui, sys, time, serial
33

4-
port = 'COM6' #Windows COMX | Linux /dev/ttyUSBX or /dev/ttyACMX
4+
port = 'COM4' #Windows COMX | Linux /dev/ttyUSBX or /dev/ttyACMX
55
baud = 9600
66

77
NanoSerial = serial.Serial(port, baud)
@@ -24,22 +24,22 @@ while 1:
2424
elif data == '6':
2525
pyautogui.press('volumeup') #Turn volume up
2626
elif data == '1':
27-
pyautogui.hotkey('ctrl', 'alt', 'c') #Chatting
27+
pyautogui.hotkey('ctrl', 'b', '"')
2828
elif data == '2':
29-
pyautogui.hotkey('ctrl', 'alt', 'd') #Gaming
29+
pyautogui.hotkey('ctrl', 'b', '%')
3030
elif data == '3':
31-
pyautogui.hotkey('ctrl', 'alt', 'f') #Waiting
31+
pyautogui.hotkey('ctrl', 'b', 'c')
3232
elif data == '*':
33-
pyautogui.hotkey('ctrl', 'alt','a') #Start/Stop streaming OBS
33+
pyautogui.hotkey('ctrl', 'b', 'p')
3434
elif data == '0':
35-
pyautogui.hotkey('ctrl', 'alt','b') #Start/Stop recording OBS
35+
pyautogui.hotkey('ctrl', 'b', 'n')
3636
elif data == '#':
37-
pyautogui.hotkey('ctrl', 'alt','e') #Transition OBS
37+
pyautogui.hotkey('ctrl', 'b', 'x')
3838
elif data == 'A':
39-
pyautogui.hotkey('ctrl', 'alt','g') #Mute/Unmute desktop
39+
pyautogui.hotkey('ctrl', 'alt','g')
4040
elif data == 'B':
41-
pyautogui.hotkey('ctrl', 'alt', 'h') #Mute/Unmute headset
41+
pyautogui.hotkey('ctrl', 'alt', 'h')
4242
elif data == 'C':
43-
pyautogui.hotkey('ctrl', 'alt','i') #Mute/Unmute mic
43+
pyautogui.hotkey('ctrl', 'alt','i')
4444
elif data == 'D':
45-
pyautogui.hotkey('ctrl', 'alt','del')
45+
pyautogui.hotkey('ctrl', 'alt','del')

0 commit comments

Comments
 (0)