(Apple/OSX) Split up HID code into separate file