Numpad Stream Deck

@rebind / numpad-stream-deckv0.1.2Public

Make your numpad send F13 to F21, hotkeys OBS can bind and nothing else uses.

Files

main.luau475 B

-- Numpad Stream Deck: numpad 1 to 9 send F13 to F21, keys streaming apps can
-- bind but no keyboard has, so nothing else reacts to them.

local schema = {}
for n = 1, 9 do
  schema[`key{n}`] = UI.Keybind(`Kp{n}`, { label = `Sends F{12 + n}` })
end
local cfg = UI.Schema(schema)

-- macOS has no key code for F21, so the ninth key is left alone there
local last = if _REBIND.platform == "macos" then 8 else 9

for n = 1, last do
  Bind.Remap(cfg[`key{n}`], `F{12 + n}`)
end

3 files, 2.0 KB.