GlovePieUpdate

This commit is contained in:
Joao Conceicao Nunes 2020-05-08 16:17:26 +02:00
parent b708efc988
commit db14339dec
2 changed files with 37 additions and 4 deletions

View file

@ -2,12 +2,44 @@
var.PointerBump = KeepDown(Pressed(wiimote.A),var.ButtonFreezeTime) or KeepDown(Pressed(wiimote.B),var.ButtonFreezeTime)
Wiimote.Led1 = true
var.MoveButton = wiimote.B
mouse.LeftButton = wiimote.A
mouse.RightButton = wiimote.Plus
mouse.MiddleButton = wiimote.Down
mouse.RightButton = wiimote.B ;
mouse.LeftButton = wiimote.A
Up = wiimote.Up
Down = wiimote.Down
Left = wiimote.Left
Right = wiimote.Right
if KeepDown(Pressed(wiimote.Plus),var.ButtonFreezeTime) then
mouse.x = 0.5
mouse.y = 0.5
var.HeadMouv = True
end if
if KeepDown(Pressed(wiimote.Minus),var.ButtonFreezeTime) then
mouse.x = 0.5
mouse.y = 0.5
var.HeadMouv = false
end if
if var.HeadMouv then
Wiimote.Led2 = true
Wiimote.Led3 = false
else
Wiimote.Led3 = true
Wiimote.Led2 = false
if wiimote.PointerVisible but not var.PointerBump then
mouse.x = wiimote.PointerX
mouse.y = wiimote.PointerY
end if
end if

View file

@ -0,0 +1 @@
{"settingsVersion":"0","videoPortTextBox":"7777","sensorPortTextBox":"5555","hotspotSsidTextBox":"trinus","hotspotPwdTextBox":"mypassword","forcedIPCheckBox":"0","forcedIPTextBox":"192.168.42.129","fake3DComboBox":"0","fakeRollCheckBox":"0","motionBoostCheckBox":"1","qualityComboBox":"2","fastScalingCheckBox":"0","dynamicQualityCheckBox":"0","compressionTrackBar":"3","dynamicCompressionQualityCheckBox":"0","captureModeComboBoxV2":"0","captureCursorCheckBox":"0","maxFrameRateTextBox":"70","headmountComboBox":"0","sensorTypeComboBox":"0","trackIRFixCheckBox":"0","leftActionButton":"{\"actionName\":\"D1\",\"deviceId\":\"keyboard\"}","ignoreActionButton":"{\"actionName\":\"D3\",\"deviceId\":\"keyboard\"}","rightActionButton":"{\"actionName\":\"D2\",\"deviceId\":\"keyboard\"}","sensorResetActionButton":"{\"actionName\":\"D4\",\"deviceId\":\"keyboard\"}","orderYawComboBox":"0","orderPitchComboBox":"1","orderRollComboBox":"2","predictiveTrackBar":"0","scaleX":"146928","scaleY":"230000","scaleInX":"2450000","scaleInY":"1700000","screenCenterX":"500000","screenCenterY":"500000","lensCenterX":"536325","lensCenterY":"500000","warpX":"2300000","warpY":"220000","warpZ":"240000","warpW":"0","absScaleX":"0","absScaleY":"0","absScaleInX":"900","absScaleInY":"900","absScreenCenterX":"0","absScreenCenterY":"0","absLensCenterX":"0","absLensCenterY":"0","absWarpX":"0","absWarpY":"0","absWarpZ":"0","absWarpW":"0","absChroma":"0","absIpd":"500","scaleYawTrackBar":"30","scalePitchTrackBar":"15","scaleRollTrackBar":"0","invertYawCheckBox":"0","invertPitchCheckBox":"0","invertRollCheckBox":"0","previewCheckBox":"1","scaleXTrackBar":"1","scaleYTrackBar":"1","scaleZTrackBar":"1","positionPluginNameComboBox":"0","borderFixLeftTrackBar":"0","borderFixRightTrackBar":"0","borderFixTopTrackBar":"0","borderFixBottomTrackBar":"0","zoomTrackBar":"100","zoomCenterPivotCheckBox":"0","wifiHotspotCheckBox":"0","simpleMode":"0","deadZoneTrackBar":"0","dpiFixCheckBox":"0","precisionMouseCheckBox":"0","queueFramesCheckBox":"1","bruteCheckCheckBox":"1","nvidiaOptimizedCheckBox":"0","lowColorButton":"buttonface","highColorButton":"buttonface","steamVRSourceCheckBox":"0","leftTriggerComboBox":"RESET","centerTriggerComboBox":"RESET","rightTriggerComboBox":"ZOOM","useMoonlightCheckBox":"0","brightnessTrackBar":"500","contrastTrackBar":"500","nsdCheckCheckBox":"1","extSteamVRComboBox":"-1","headZOffsetTrackBar":"0","headYOffsetTrackBar":"0","driftCompensationCheckBox":"0","yawOffsetTrackBar":"0","pitchOffsetTrackBar":"0","steamVRSyncCheckBox":"0","steamVRIPDtrackBar":"600","steamVRHookCaptureCheckBox":"1"}