Deprecation warnings for enable_* functions in inputhook

Also, update examples to not use these