Replace keyevent with press_keycode. Add long_press_keycode

Fix #203