Skip to content

Commit

Permalink
match encoder behaviors in mix menu (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
tehn authored Nov 1, 2018
1 parent 235c1bc commit 2cb308c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ menu.set_mode = function(mode)
screen.font_face(0)
screen.font_size(8)
screen.line_width(1)
menu.set_page(menu.page)
norns.encoders.callback = menu.enc
norns.encoders.set_accel(1,true)
norns.encoders.set_sens(1,1)
norns.encoders.set_accel(2,false)
norns.encoders.set_sens(2,0.5)
norns.encoders.set_accel(3,true)
norns.encoders.set_sens(3,0.5)
menu.set_page(menu.page)
end
end

Expand Down Expand Up @@ -423,11 +423,13 @@ m.init[pMIX] = function()
m.mix.out2 = 0
norns.encoders.set_accel(2,true)
norns.encoders.set_sens(2,1)
norns.encoders.set_sens(3,1)
end

m.deinit[pMIX] = function()
norns.encoders.set_accel(2,false)
norns.encoders.set_sens(2,0.5)
norns.encoders.set_sens(3,0.5)
norns.vu = norns.none
end

Expand Down

0 comments on commit 2cb308c

Please sign in to comment.