dodal še mapping nekaterih tipk z numerične tipkovnice

This commit is contained in:
2026-03-06 17:27:19 +01:00
parent ae61861cab
commit 1261e23863

View File

@@ -74,8 +74,11 @@ class SongProjector:
root.bind("<Return>", self.enter_pressed)
root.bind("<KP_Enter>", self.enter_pressed)
root.bind("<plus>", self.clear_screen)
root.bind("<KP_Add>", self.clear_screen)
root.bind("<minus>", self.prev_page)
root.bind("<KP_Subtract>", self.prev_page)
root.bind("<slash>", self.search_song)
root.bind("<KP_Divide>", self.search_song)
root.bind("<Key>", self.key_pressed)
screen_width = root.winfo_screenwidth()