Ok, thanks for your reply. Yes, i want to store the key <-> action. The problem is when I just save the Keycode, its not really obvious what key is used, so as long as I dont have a menu, Id always have to check what key has what value, I hoped to avoid this.