hey, folks, thanks for clicking :)
i want to assign a pressed key to a button, i clicked before, similar to what we know from computergames, when we change the key bindings.
For example: click button1 -> the application is waiting for any key to be pressed -> we push ctrl on the keyboard -> ctrl is assigned to button1-> button1.text changes to ctrl
same procedure with button 2 ....and so on
i googled for hours and cant find a solution :(