Skip to content

Repository files navigation

PocketSNES

forked from a fork from a fork , w/e

Just to collect the patches for running PocketSNES on PocketCHIP and CHIP.

Installation Instructions

sudo apt install libsdl1.2-dev build-essential git --no-install-recommends
git clone https://busebusemac@bitbucket.org/keymu2/funkey_emulator_pocketsnes.git
cd PocketSNES
make

Run Instructions

./PocketSNES /path/to/rom.sfc

Keyboard Controls

Menu:

  • cursor keys = UP/DOWN - ENABLE/DISABLE (option)
  • i = SELECT (option)
  • j = BACK

In-game:

  • cursor keys = UP/DOWN/LEFT/RIGHT
  • i = A
  • j = B
  • u = X
  • h = Y
  • v = START
  • c = SELECT
  • o = L
  • k = R
  • c+v (at once) = MENU

Change the Keyboard Controls

The keyboard controls are currently hard-coded in sal/linux/sal.c. Find the following lines, change as desired and re-compile with make.

switch(event.key.keysym.sym) {
CASE(LCTRL, A);
CASE(LALT, B);
CASE(SPACE, X);
CASE(LSHIFT, Y);
CASE(TAB, L);
CASE(BACKSPACE, R);
CASE(RETURN, START);
CASE(ESCAPE, SELECT);
CASE(UP, UP);
CASE(DOWN, DOWN);
CASE(LEFT, LEFT);
CASE(RIGHT, RIGHT);
CASE(HOME, MENU);
default: break;
}

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages