poslední stisknutou klávesu mam uloženou v tom key1 - problém je, že nevím jak to implementovat v tom Switchi