Status: Work in progress
I have an old laptop of which the USB hubs crash from time to time, disabling my peripherals.
Until the issue is identified I'm using the following script to rebind:
// SPDX-FileCopyrightText: 2022 sirinsidiator <insidiator@cmos.at> | |
// | |
// SPDX-License-Identifier: GPL-3.0-or-later | |
import * as fs from 'fs'; | |
import * as path from 'path'; | |
class LuaToJsonConverter { | |
convertLuaToJSONString(content: string): string { | |
let lines = content.split(/[\r\n]+/g); |
#Requires AutoHotkey v2.0 | |
#SingleInstance Force ; run script only once | |
; ------ CONFIG AND VARS ------ | |
A_ScriptName := "PixelWatcher" | |
LogFile := A_ScriptDir . "/" . A_ScriptName . ".log" | |
DebugEnabled := true | |
ClientTitle := "Target Application Window Title" |