Add hidtrigger to entry points
Fix small bug in hidtrigger