Update to work with latest HidLibrary

It seems some changes in HidLibrary broke backwards compatibility so this update fixes it to work with the latest version. Thanks for sharing your work!