Rename `sendevent.c to `auto-input.c
Rename `extern.[ch] to `external.[ch] to avoid possible confliction