key:=GetKeyPressed; // Или GetKeyClickedk1:=KeyToAction(key);if (k1 = GA_UP) then // нажали вверхif (key = KE_KEY2) then // нажали 2