OnionUI / Onion

OS overhaul for Miyoo Mini and Mini+
https://onionui.github.io
GNU General Public License v3.0
3.16k stars 190 forks source link

PICO-8 Standalone - Mouse/Menu key Improvements and fixes in SDL2 lib #1535

Closed XK9274 closed 1 month ago

XK9274 commented 2 months ago

Mouse can be tested in this cart (which is also available through splore): https://www.lexaloffle.com/bbs/?tid=3467

  "mouse":{
    "scaleFactor":1,
    "acceleration":4.0,
    "accelerationRate":1.5,
    "maxAcceleration":4.0,
    "incrementModifier":1.0,
    "disableMouseHotkey":0,
    "disableMouseIcon":1,
    "minx":40,
    "miny":0,
    "maxx":280,
    "maxy":236
  },

When:

     "disableMouseHotkey":1,

Is set, L2 can be rebound to a different key with:

  "customkeys":{
    "A":"Z",
    "B":"X",
    "X":"ESCAPE",
    "Y":"D",
    "L1":"D",
    "L2":"D", <<<<<<<<<<
    "R1":"D",
    "R2":"D",
    "LeftDpad":"LEFT",
    "RightDpad":"RIGHT",
    "UpDpad":"UP",
    "DownDpad":"DOWN",
    "Start":"RETURN",
    "Select":"D",
    "Menu":"D"
  },