Godtone (talk | contribs)
→Novation Launchpad Pro MK3 isomorphic keyboard code: less confusing default value for bottomleftnote
Godtone (talk | contribs)
m →Novation Launchpad Pro MK3 isomorphic keyboard code: (forgot to add important disclaimer/note about different functionality)
Line 1,391: Line 1,391:
colmap = [( colmap*mul )[i%len(colmap)] if i%highlight[-1] in [0]+highlight else 3 for i in range(mul)]
colmap = [( colmap*mul )[i%len(colmap)] if i%highlight[-1] in [0]+highlight else 3 for i in range(mul)]
# get arguments with default values
# get arguments with default values
bottomleftnote = args.get('bottomleftnote') or args.get('blnote') or args.get('bl') or args.get('b') or 0
bottomleftnote = args.get('bottomleftnote') or args.get('blnote') or args.get('bl') or args.get('b') or 0 # WARNING: NOTE: used to be min(x,y) by default!
vel = args.get('velocity') or args.get('vel') or args.get('v') or 102 # velocity used when lacking sensitivity
vel = args.get('velocity') or args.get('vel') or args.get('v') or 102 # velocity used when lacking sensitivity
min_vel = ( args.get('minimum_velocity') or args.get('minimum_vel') or args.get('minimum_v')
min_vel = ( args.get('minimum_velocity') or args.get('minimum_vel') or args.get('minimum_v')