This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function getCurrentWindow() { | |
return new Promise((resolve, reject) => { | |
overwolf.windows.getCurrentWindow(res => { | |
resolve(res); | |
}); | |
}); | |
} | |
export function obtainDeclaredWindow(win) { | |
return new Promise((resolve, reject) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
* | |
* DirectInput keyboard scan codes | |
* | |
****************************************************************************/ | |
#define DIK_ESCAPE 0x01 | |
#define DIK_1 0x02 | |
#define DIK_2 0x03 | |
#define DIK_3 0x04 | |
#define DIK_4 0x05 |