separate press/release functions for keypresses