fix missing const specifier in hidapi