Log In  

This Content is for old bbs.

Currently on the BBS, the gamepad is automatically enabled.

Add URL in new bookmark this script.
and Click the bookmark on cart page!

[[New ver0.2 UPDATE 2018-12-20 ]]

  • Appended -x-button of secondary.
javascript:d=document;a=d.createElement('script');a.setAttribute('type','module');a.textContent="import * as keycont from 'https://oshiimizunohuta.github.io/chunklekit/keycontroll.js';let kct=keycont.CKSETUPKEYS();kct.setKey('<', keycont.convertGamePadKey(0,'1'));let btns=['left','right','up','down','>','<','space','select'];keycont.setKeySetCheck(function(){let st=kct.getState(btns);btns.forEach(function(a,i){if(st[a]&kct.getTrig('select')&(a=='select')){btns.splice(4,0,btns.splice(5,1)[0]);return;}press_pico8_button(0,i,st[a]?1:0);})})";d.body.appendChild(a);

(It's loading from My Javascript code in github.)

Controller mapping

[[Old ver0.1]]

javascript:d=document;a=d.createElement('script');a.setAttribute('type','module');a.textContent="import * as keycont from 'https://oshiimizunohuta.github.io/chunklekit/keycontroll.js';let kct=keycont.CKSETUPKEYS();let btns=['left','right','up','down','>','<','space','select'];keycont.setKeySetCheck(function(){let st=kct.getState(btns);btns.forEach(function(a,i){if(st[a]&kct.getTrig('select')&(a=='select')){btns.splice(4,0,btns.splice(5,1)[0]);return;}press_pico8_button(0,i,st[a]?1:0);})})";d.body.appendChild(a);

(It's loading from My Javascript code in github.)

Controller mapping

P#59615 2018-12-03 16:43 ( Edited 2020-06-04 08:33)


[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-10-31 09:38 | 0.009s | 4194k | Q:11