Use the hook in HIDManip
Merge branch 'HIDManip'

Use a shared library for the hook and input emulation