mirror of
https://github.com/eugene-serb/wavelovers.git
synced 2023-09-09 23:41:16 +03:00
2 lines
5.1 KiB
JavaScript
2 lines
5.1 KiB
JavaScript
|
"use strict";(self["webpackChunkwavelovers"]=self["webpackChunkwavelovers"]||[]).push([[835],{9835:function(a,t,e){e.r(t),e.d(t,{default:function(){return D}});var s=e(3396);const n=(0,s._)("h1",{class:"visually-hidden"},"Wavelovers <20> Diagnostic",-1);function u(a,t,e,u,i,p){const d=(0,s.up)("AppDiagnostic");return(0,s.wg)(),(0,s.iD)(s.HY,null,[n,(0,s.Wm)(d)],64)}const i={key:0,class:"content-item"},p=(0,s.Uk)("Press any gamepad button or connect a new gamepad to vibrate.");function d(a,t,e,n,u,d){const o=(0,s.up)("NavigationList"),l=(0,s.up)("DiagnosticItem"),m=(0,s.up)("GamepadList"),g=(0,s.up)("MessageItem");return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(o),a.gamepads.length>0?((0,s.wg)(),(0,s.iD)("div",i,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(a.gamepads,(t=>((0,s.wg)(),(0,s.j4)(l,{key:t.id,gamepad:t,timestamp:a.timestamp},null,8,["gamepad","timestamp"])))),128))])):(0,s.kq)("",!0),a.gamepads.length>0?((0,s.wg)(),(0,s.j4)(m,{key:1,gamepads:a.gamepads},null,8,["gamepads"])):((0,s.wg)(),(0,s.j4)(g,{key:2},{default:(0,s.w5)((()=>[p])),_:1}))],64)}var o=e(1746),l=e(4509),m=e(1850),g=e(2347),c=e(7139);const r={class:"output-gamepad"},v={class:"gamepad-group"};function _(a,t,e,n,u,i){return(0,s.wg)(),(0,s.iD)("div",r,[(0,s._)("h3",null,"#"+(0,c.zw)(a.gamepad.unit.index+1)+". "+(0,c.zw)(a.gamepad.unit.id),1),(0,s._)("div",v,[(0,s._)("div",null,[(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[0].value?"pressed":""])},"A: "+(0,c.zw)(a.gamepad.unit.buttons[0].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[1].value?"pressed":""])},"B: "+(0,c.zw)(a.gamepad.unit.buttons[1].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[2].value?"pressed":""])},"X: "+(0,c.zw)(a.gamepad.unit.buttons[2].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[3].value?"pressed":""])},"Y: "+(0,c.zw)(a.gamepad.unit.buttons[3].value.toFixed(2)),3)]),(0,s._)("div",null,[(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[4].value?"pressed":""])},"LB: "+(0,c.zw)(a.gamepad.unit.buttons[4].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[5].value?"pressed":""])},"RB: "+(0,c.zw)(a.gamepad.unit.buttons[5].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[6].value?"pressed":""])},"LT: "+(0,c.zw)(a.gamepad.unit.buttons[6].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[7].value?"pressed":""])},"RT: "+(0,c.zw)(a.gamepad.unit.buttons[7].value.toFixed(2)),3)]),(0,s._)("div",null,[(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[8].value?"pressed":""])},"Back: "+(0,c.zw)(a.gamepad.unit.buttons[8].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[9].value?"pressed":""])},"Start: "+(0,c.zw)(a.gamepad.unit.buttons[9].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[10].value?"pressed":""])},"Left Stick: "+(0,c.zw)(a.gamepad.unit.buttons[10].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[11].value?"pressed":""])},"Right Stick: "+(0,c.zw)(a.gamepad.unit.buttons[11].value.toFixed(2)),3)]),(0,s._)("div",null,[(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[12].value?"pressed":""])},"Forward: "+(0,c.zw)(a.gamepad.unit.buttons[12].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[13].value?"pressed":""])},"Backward: "+(0,c.zw)(a.gamepad.unit.buttons[13].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[14].value?"pressed":""])},"Left: "+(0,c.zw)(a.gamepad.unit.buttons[14].value.toFixed(2)),3),(0,s._)("span",{class:(0,c.C_)([1===a.gamepad.unit.buttons[15].value?"pressed":""])},"Right: "+(0,c.zw)(a.gamepad.unit.buttons[15].value.toFixed(2)),3)]),(0,s._)("div",null,[(0,s._)("span",null,"Left Stick X: "+(0,c.zw)(a.gamepad.unit.axes[0]?a.gamepad.unit.axes[0].toFixed(2):"missing"),1),(0,s._)("span",null,"Left Stick Y: "+(0,c.zw)(a.gamepad.unit.axes[1]?a.gamepad.unit.axes[1].toFixed(2):"missing"),1),(0,s._)(
|
|||
|
//# sourceMappingURL=835.17b1ecd3.js.map
|