Skip to content

buzztiaan/PocketSNES

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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://github.com/buzztiaan/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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 72.2%
  • C 26.8%
  • Other 1.0%