Skip to content

ahihi/tearsofjoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

😂

graphical Switch controller emulation

demo photo

tearsofjoy is a pygame GUI for joycontrol. it was built for Raspberry Pi but should work with little effort wherever joycontrol does.

features:

  • keyboard control: PC keyboard mappings to all Pro controller buttons (analog sticks not supported yet!)
  • NFC tag browser: convenient search and selection of NFC tag .bin files

installation

install joycontrol according to their instructions.

install pygame and janus (0.5 is currently incompatible, so specify an earlier version):

pip3 install pygame 'janus<0.5'

clone the tearsofjoy repository:

git clone https://github.com/ahihi/tearsofjoy.git

enter the cloned directory:

cd tearsofjoy

create a directory for NFC tags:

mkdir -p nfc

put any NFC tag .bin files you intend to use in the directory.

run the script:

sudo python3 tearsofjoy.py

on the Switch, open the "Change Grip/Order" menu.

usage

the main controller screen shows the buttons and their keyboard mappings. the buttons are greyed out until a successful connection to the Switch is made. to exit, press esc.

to open the NFC tag browser, press the key mapped to nfc_load. in the browser, scroll through files using the up/down arrow keys. you can also type to filter the available files. select a file by pressing enter.

About

graphical Switch controller emulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages