Files
virtual-controller/plugin-reaper-realearn/resources/controller-presets/factory/djtechtools/midi-fighter-twister-grid.preset.luau
T
Paul Lipscomb e58f06d9fa Vendor helgoboss/helgobox (ReaLearn) as basis for custom UI fork
Stripped upstream git history; starting point for replacing the native
SWELL/Win32 mapping UI with something more suited to bulk editing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-15 17:38:29 -04:00

35 lines
1.4 KiB
Lua

--- name: Midi Fighter Twister - Grid
--- realearn_version: 2.16.0-pre.8
--- author: helgoboss
--- device_manufacturer: DJ TechTools
--- device_name: Midi Fighter Twister
--- description: |
--- This controller preset exposes the push encoders of the Midi Fighter Twister with the "grid" scheme, which means
--- it uses virtual element IDs such as "col1/row1/pad". This makes it compatible with main presets that are
--- built for generic grid controllers.
--- setup_instructions: |
--- The Midi Fighter Twister is a very customizable controller. Please follow the instructions at
--- https://github.com/helgoboss/helgobox/blob/master/doc/controllers.adoc#dj-techtools-midi-fighter-twister
--- to make it ready for ReaLearn.
--- midi_identity_pattern: F0 7E ? 06 02 00 01 79 05 00 01 00 * F7
--- provided_schemes: [djtechtools/midi-fighter-twister/grid, grid]
--!strict
local realearn = require("realearn")
local commons = require("djtechtools/midi-fighter-twister-lib/preset-common")
return commons.create_compartment {
create_push_target = function (col, row)
return realearn.Target.Virtual {
id = `col{col +1 }/row{row + 1}/pad`,
character = "Multi",
}
end,
create_turn_target = function (col, row)
return realearn.Target.Virtual {
id = `col{col +1 }/row{row + 1}/knob`,
character = "Multi",
}
end,
}