add ryu-cool state with keydown function