Good question. We'll assume a gpg2 install available at gpg.
First you have to have a key-pair.
gpg --full-generate-key
| ''' | |
| Copyright 2014 Lloyd Konneker | |
| Release under the GPLv3 | |
| ''' | |
| from PyQt5.QtCore import pyqtSignal as Signal | |
| from PyQt5.QtCore import QObject, QByteArray, QUrl | |
| from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkRequest | |
| #define _WIN32_WINNT 0x0500 | |
| #include <windows.h> | |
| #include <windowsx.h> | |
| #include <GL/gl.h> | |
| #include <GL/glu.h> | |
| #include <dwmapi.h> | |
| #pragma comment (lib, "opengl32.lib") |
| #Giant dictonary to hold key name and VK value | |
| VK_CODE = {'backspace':0x08, | |
| 'tab':0x09, | |
| 'clear':0x0C, | |
| 'enter':0x0D, | |
| 'shift':0x10, | |
| 'ctrl':0x11, | |
| 'alt':0x12, | |
| 'pause':0x13, | |
| 'caps_lock':0x14, |