you can use Discord's api for this:
DiscordNative.nativeModules.requireModule("discord_utils").inputEventRegister(
1337,
[
[0, 0xA2],
[0, 0x42]
],
isDown => console.log(isDown),you can use Discord's api for this:
DiscordNative.nativeModules.requireModule("discord_utils").inputEventRegister(
1337,
[
[0, 0xA2],
[0, 0x42]
],
isDown => console.log(isDown),| // If you're using NodeJS: Ignore this file | |
| // If you're using Web: Delete the require("canvas") line in index.js and copy paste these functions into index.js | |
| function createCanvas() { | |
| return document.createElement("canvas"); | |
| } | |
| function loadImage(url) { | |
| return new Promise((resolve, reject) => { | |
| const img = new Image; |
| 1210165420493905982 | |
| 956054319529066527 | |
| 956075132571508757 | |
| 1171196139647803513 | |
| 956210819325132921 | |
| 956164930061619230 | |
| 1185038257789079614 | |
| 956246550152118374 | |
| 956178931512410222 | |
| 1172076548791226439 |
| @import url('https://fonts.cdnfonts.com/css/menlo'); | |
| .page-layout__banner { | |
| display: none; | |
| } | |
| :root { | |
| --font-family-code: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; | |
| --color-background-page: #1b1b1b; | |
| } |