-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
29 lines (22 loc) · 1.49 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from os import system
from data.keyboard import *
def text():
"""
A Title Display.
"""
system('cls')
print('''
██████╗ ██████╗ ██████╗ ██╗ ██████╗ █████╗ ██╗ ██╗ █████╗
██╔════╝ ██╔═══██╗ ██╔══██╗ ██║ ██╔══██╗ ██╔══██╗ ████╗ ████║ ██╔══██╗
█████╗ ██║ ██║ ██████╔╝ ██║ ██║ ██║ ███████║ ██╔████╔██║ ███████║
╚════██║ ██║ ██║ ██╔══██╗ ██║ ██║ ██║ ██╔══██║ ██║╚██╔╝██║ ██╔══██║
██████║ ╚██████╔╝ ██║ ██║ ██║ ██████╔╝ ██║ ██║ ██║ ╚═╝ ██║ ██║ ██║
╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
''')
# #################################################################
keyboard = Keyboard()
if __name__ == '__main__':
text()
keys.block_keys(keys.KEY_BLOCKED)
with Listener(on_press=keyboard.on_press, on_release=keyboard.on_release) as listener:
listener.join()