Log In  

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 2019-01-08 06:07)


[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-09-19 22:52 | 0.009s | 2097k | Q:11