A key:action, S key:open menu, close menu