ctrlpad: add getUI on widget for debugging

master
Rob Pilling 2024-04-24 17:22:42 +01:00
parent 3fda06b701
commit 813e11c94a
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@
draw: () => {}, draw: () => {},
width: 0, width: 0,
}; };
(WIDGETS["hid"] as any).getUI = () => ui;
/* /*
const settings = require("Storage").readJSON("setting.json", true) as Settings || ({ HID: false } as Settings); const settings = require("Storage").readJSON("setting.json", true) as Settings || ({ HID: false } as Settings);