input: add general input hooks

2 jobs for master in 3 minutes (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #73363
build-native-autotools

00:03:00

passed #73364
build-native-meson

00:02:08