Godtone (talk | contribs)
Novation Launchpad Pro MK3 isomorphic keyboard code: imperfect fix for making half-buttons indistinct (but making the fix perfect would be annoyingly complex for me)
Godtone (talk | contribs)
m Novation Launchpad Pro MK3 isomorphic keyboard code: small mistake; i intended a default of False
Line 1,131: Line 1,131:
rb17v2 = [ rb29[round( k/17*29+0.4 )%29] for k in range(17)]
rb17v2 = [ rb29[round( k/17*29+0.4 )%29] for k in range(17)]
rb19 = [ rb29[round( k/19*29+0.4 )%29] for k in range(19)]
rb19 = [ rb29[round( k/19*29+0.4 )%29] for k in range(19)]
def iso(x=5, y=1, note_to_col = lambda n: 1 if n>0 else 0, bottomleftnote=10, vel=102, half=40, distinct_half_buttons=True):
def iso(x=5, y=1, note_to_col = lambda n: 1 if n>0 else 0, bottomleftnote=10, vel=102, half=40, distinct_half_buttons=False):
colmap = note_to_col
colmap = note_to_col
if type(note_to_col)==list:
if type(note_to_col)==list: