FreePIE input plugin for Daydream and GearVR controller
- Copy FreePIEVRController.dll on "C:\Program Files (x86)\FreePIE\plugins"
- (if required) Right click FreePIEVRController.dll and open property and then unblock file
c = 0
alvr.buttons[c][alvr.Id("trackpad_click")] = alvr.buttons[c][alvr.Id("trackpad_click")] or vrcontroller[c].click
alvr.buttons[c][alvr.Id("trackpad_touch")] = alvr.buttons[c][alvr.Id("trackpad_touch")] or vrcontroller[c].touch
alvr.buttons[c][alvr.Id("trigger")] = alvr.buttons[c][alvr.Id("trigger")] or vrcontroller[c].trigger
alvr.trackpad[c][0] = vrcontroller[c].trackpad[0]
alvr.trackpad[c][1] = vrcontroller[c].trackpad[1]
alvr.buttons[c][alvr.Id("system")] = vrcontroller[c].volup
alvr.buttons[c][alvr.Id("grip")] = vrcontroller[c].voldown
alvr.trigger[c] = 1.0 if alvr.buttons[c][alvr.Id("trigger")] else 0.0
alvr.override_controller_position = True
alvr.controller_position[c][0] = vrcontroller[c].position[0]
alvr.controller_position[c][1] = vrcontroller[c].position[1]
alvr.controller_position[c][2] = vrcontroller[c].position[2]
- Drift in GearVR Controller