First run: button-switch start before=0 button-restored after=0 restored [stderr] SPI_SETMOUSEBUTTONSWAP failed 所在位置 行:17 字符: 26 + if ($step -eq 0) { throw 'SPI_SETMOUSEBUTTONSWAP failed' } + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (SPI_SETMOUSEBUTTONSWAP failed:String) [], RuntimeException + FullyQualifiedErrorId : SPI_SETMOUSEBUTTONSWAP failed [exit code: 1] After Allow once: button-switch start before=0 button-switch step=0 wantOn=True read=1 button-switch step=1 wantOn=False read=0 button-switch step=2 wantOn=True read=1 button-switch step=3 wantOn=False read=0 button-switch step=4 wantOn=True read=1 button-switch step=5 wantOn=False read=0 button-switch step=6 wantOn=True read=1 button-switch step=7 wantOn=False read=0 button-complete before=0 steps=8 button-restored after=0 restored