Can someone look at my configuration and help me clean up the LED behavior on my TEK2? | Intech Studio
💬 general Grid

Can someone look at my configuration and help me clean up the LED behavior on my TEK2?

Karlo · · 58 replies

I'm not sure why, but when I spin my endless encoders it affects the button LEDS. Also I'd like to be able to figure out how to set up or manipulate the LED behavior of the Endless encoders too but everytime I try to program it it using Grid editor, I fail miserably. It would be nice if there was some video tutorials showing how to do some basic things with these controllers.

Replies (50)

Greg-Orca Greg-Orca ·

the new firmware changed the addressing of the TEK2. I recommend saving your current configuration to the Profile Cloud and then clearing the module config.

You’ll now notice that in the Endless, there’s a Simple Color block, which makes it easy to color the LEDs.

Then implement your config to the new basic config

Karlo ·

I tried that and it's still messed up, it's fine until I load my endless encoder config

Karlo ·

There is 2 code blocks:

Karlo ·

local n, val, dir = self:element_index(), self:endless_state(), self:endless_state() - 64
for i = 0, 4, 1 do
led_value(n + i * 2, 2, 0)
end
fs = (math.abs(dir - 1.1) / (dir - 1.1) + math.abs(dir + 1.1) / (dir + 1.1)) / 2
dir = math.abs(dir) / dir
led_value(n + (2 + dir) * 2, 2, 80)
led_value(n + (2 + dir + fs) * 2, 2, 50)
timer_start(n, self.time)

Karlo ·

and

Karlo ·

if self.ax ~= 3 and self.ca == false then
mouse_button_send(1, 1)
self.ca = true
end
if val > 63 then
mouse_move_send(self.ax, -1 * self.st)
else
mouse_move_send(self.ax, self.st)
end

Karlo ·

Somebody from intech made this configuration, it's awesome, but the LEDs are all messed up

Karlo ·

It would seem like the LEDs are messed up on my EF44 as well... perhaps also related to firmware update?

Karlo ·

How can I share the element with you?

narayb narayb ·

I know this configuration, it looks like the Relative Mode Endless one.

narayb narayb ·

Sending mouse moves of course.

narayb narayb ·

Well, the LEDs are messed up because the new FW references them differently.

narayb narayb ·

AFAIK this is fixable by deleting everything in the Loop block and replacing it with a new Simple Color block.

Karlo ·

Loop block? I'm sorry I don't see a Loop block or know what that is.

Karlo ·

You mean the repeat blocks?

Karlo ·

I deleted everything between the Repeat and End blocks and added the simple color block in it's place... but the LEDs are still messed up.

narayb narayb ·

Oh yeah, since I wrote that I've been trying to fix this 😄

narayb narayb ·

It ain't easy 😄

narayb narayb ·

Alright, so uploaded the config with the fix under Relative Mousewheel FW1.4, check it out if you can!

Karlo ·

When I click on that config to load it I keep getting this:

Karlo ·
Screenshot_2025-11-13_at_10.11.56_AM.png
Karlo ·

It doesn't load

narayb narayb ·

huh, yeah Profile Cloud is acting horrible these days

narayb narayb ·

if you reload the editor with cmd+shift+r, does it load after?

Karlo ·

No, i get the same. I also just hit dismiss and then appy it to the element with the green arrow but then I get the same again

narayb narayb ·

oh damn, I'm just noticing that it only works on the left knob....

narayb narayb ·

oh I think I know what's wrong, I'm on the nightly FW with the expanded code limit

Karlo ·

It's only Relative Mousewheel FW1.4

narayb narayb ·

Yeah, I know. The code is over the 390 limit.

Karlo ·

no one likes limits!

narayb narayb ·

My problem is still with the config only working for the left knob.

narayb narayb ·

the function self:led_index(n) should call the LED index of the nth LED tied to that element.

narayb narayb ·

but for some reason it doesn't

Karlo ·

I wish I could help but I'm totally inept at this

narayb narayb ·

Okay, so I've made a workaround, but you'll have to upgrade to 1.4.2 for it.

narayb narayb ·

You can do this by enabling Nightly Firmware updates under Preferences/Developer Settings

narayb narayb ·
image.png
narayb narayb ·

Or you know what

Karlo ·

I'm still getting the same

narayb narayb ·

I'll just make the code smaller

Karlo ·

Like change the font size? I can do that!

Karlo ·

I joke

narayb narayb ·

okay, try it now!

narayb narayb ·

should load on old firmware now

Karlo ·

That's nice!

narayb narayb ·

okay, I checked, it loads and works on FW 1.4.1 using editor 1.6.0

Karlo ·

Seems to work good!

Karlo ·

Better than the one I was using before

narayb narayb ·

yeah, fixed the LEDs, but it's really ugly, so sorry about that

narayb narayb ·

working with undocumented code here...

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →