leaky bucket handles weighted inputs ok with default args tbh, maybe a little heavy handed
This commit is contained in:
@@ -21,10 +21,10 @@ def main():
|
||||
for key in buckets:
|
||||
#keycode = buttons.keys[bucket[key][1]]
|
||||
if buckets[key][0]:
|
||||
print("down", key, end=" ") #, button[key])
|
||||
print(f"+{key}", end=" ") #, button[key])
|
||||
#buttons.down(keycode)
|
||||
else:
|
||||
print("up", key, end=" ") #, button[key])
|
||||
print(f"-{key}", end=" ") #, button[key])
|
||||
#buttons.up(keycode)
|
||||
print()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user