mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 18:46:11 +00:00
* Allow HTTP access to Raspberry Pi over local network Lower audio buffer maximum theoretical size to get the worker code to compile on Raspberry Pi * Add https port flag to run https worker and coordinator on the same machine Add https chain and key flags to allow to use an existing certificate and bypass letsencrypt Note the ping address resolution is still broken with this configuration * Add option to define a ping server in the coordinator This is useful when it is not predicatable what address and port the worker will be runnning at This only works when there is a single worker * Free temporarily allocated CStrings Store constant CString * Only load core once and unload it when done * Add Nintendo 64 support! Disclaimer: only tested with Mupen64plus and Mupen64plusNext on Raspberry Pi. It probably needs more work to run on every system and with other OpenGL libretro libraries. Input controls are hacked together, it really needs analog stick and remapping support to play in a nicer way. I am worried there might be a memory leak when unloading Mupen64plus but this needs further investigation. * Add analog sticks + R2,L2,R3,L3 support * Add client logic to control left analog stick via keyboard and touch Add client logic to toggle between dpad mode and analog mode (even for joystick) Might need to revisit if and when remapping is implemented Tocuh sensitivity of analog stick is pretty high, might need tweaking * Add cores for Raspberry Pi Add N64 core for linux x86_64 * Reset use OpenGL flag on nanoarch shutdown (line lost in refactoring)
32 lines
622 B
JavaScript
Vendored
32 lines
622 B
JavaScript
Vendored
const KEY = (() => {
|
|
return {
|
|
A: 'a',
|
|
B: 'b',
|
|
X: 'x',
|
|
Y: 'y',
|
|
L: 'l',
|
|
R: 'r',
|
|
START: 'start',
|
|
SELECT: 'select',
|
|
LOAD: 'load',
|
|
SAVE: 'save',
|
|
HELP: 'help',
|
|
JOIN: 'join',
|
|
FULL: 'full',
|
|
QUIT: 'quit',
|
|
UP: 'up',
|
|
DOWN: 'down',
|
|
LEFT: 'left',
|
|
RIGHT: 'right',
|
|
PAD1: 'pad1',
|
|
PAD2: 'pad2',
|
|
PAD3: 'pad3',
|
|
PAD4: 'pad4',
|
|
STATS: 'stats',
|
|
DTOGGLE: 'dtoggle',
|
|
L2: 'l2',
|
|
R2: 'r2',
|
|
L3: 'l3',
|
|
R3: 'r3',
|
|
}
|
|
})();
|