Update input-events

Remove the following workarounds since libchewing 0.4.0
can do that now:

1. clean up incomplete character in buffer as switching
ChiEng mode.

2. toggle shape mode with shift-space.