leaky bucket handles weighted inputs ok with default args tbh, maybe a little heavy handed

master
Bel LaPointe 2022-04-12 15:43:35 -06:00
parent 1b38935cb0
commit 51d11a6afb
1 changed files with 2 additions and 2 deletions

View File

@ -21,10 +21,10 @@ def main():
for key in buckets: for key in buckets:
#keycode = buttons.keys[bucket[key][1]] #keycode = buttons.keys[bucket[key][1]]
if buckets[key][0]: if buckets[key][0]:
print("down", key, end=" ") #, button[key]) print(f"+{key}", end=" ") #, button[key])
#buttons.down(keycode) #buttons.down(keycode)
else: else:
print("up", key, end=" ") #, button[key]) print(f"-{key}", end=" ") #, button[key])
#buttons.up(keycode) #buttons.up(keycode)
print() print()