diff --git a/apps/hidclient.py b/apps/hidclient.py old mode 100644 new mode 100755 index 3421e00..b70891f --- a/apps/hidclient.py +++ b/apps/hidclient.py @@ -1,3 +1,5 @@ +#!/usr/bin/python3 + import sys, getopt from hidman.core import HIDClient @@ -15,8 +17,8 @@ def main(argv): client = HIDClient(address="tcp://%s:6666" % server_address) while True: print(client.waitKey()) - print('hidclient.py -s ') + print('hidclient.py -s ') sys.exit() if __name__ == "__main__": - main(sys.argv[1:]) \ No newline at end of file + main(sys.argv[1:]) diff --git a/apps/hiddevice.py b/apps/hiddevice.py old mode 100644 new mode 100755 index a2bad01..abcaa4f --- a/apps/hiddevice.py +++ b/apps/hiddevice.py @@ -1,3 +1,5 @@ +#!/usr/bin/python3 + import sys, getopt from hidman.core import HIDDevice @@ -16,7 +18,7 @@ def main(argv): while True: print(dev.waitKey()) dev.close() - print('hiddevice.py -d ') + print('hiddevice.py -d ') sys.exit() if __name__ == "__main__": diff --git a/apps/hidserver.py b/apps/hidserver.py old mode 100644 new mode 100755 index 7fe8026..329e4a6 --- a/apps/hidserver.py +++ b/apps/hidserver.py @@ -1,3 +1,5 @@ +#!/usr/bin/python3 + import sys, getopt from hidman.core import HIDServer @@ -14,9 +16,8 @@ def main(argv): print('Device is: ', device) serv = HIDServer(device=device, address="tcp://*:6666") serv.run() - print('hidserver.py -d ') + print('hidserver.py -d ') sys.exit() if __name__ == "__main__": main(sys.argv[1:]) - diff --git a/apps/latency_test.py b/apps/latency_test.py old mode 100644 new mode 100755 index 3dd7c33..a6cae62 --- a/apps/latency_test.py +++ b/apps/latency_test.py @@ -1,3 +1,5 @@ +#!/usr/bin/python3 + import threading import time import statistics