Skip to content

Instantly share code, notes, and snippets.

@sreid8
sreid8 / mupen64plus.cfg
Created August 7, 2016 02:05
The mupen64plus.cfg I use on my RetroPie to get the Mayflash N64 controller adapter working
# Mupen64Plus Configuration File
# This file is automatically read and written by the Mupen64Plus Core library
[Audio-OMX]
Version = 1
OUTPUT_PORT = "1"
# Frequency which is used if rom doesn't want to change it
DEFAULT_FREQUENCY = 33600
# Swaps left and right channels
@sreid8
sreid8 / InputAutoCfg.ini
Created August 7, 2016 02:02
The InputAutoCfg.ini file for mupen64plus that I use on my RetroPie installation to get the Mayflash N64 controller adapter working
; InputAutoCfg.ini for Mupen64Plus SDL Input plugin
[Keyboard]
plugged = True
plugin = 2
mouse = False
DPad R = key(100)
DPad L = key(97)
DPad D = key(115)
DPad U = key(119)
@sreid8
sreid8 / Entropy.java
Last active December 20, 2015 15:09
Example of multithreading from a reddit question
import java.util.ArrayList;
import java.util.List;
import java.util.Collections;
public class Entropy {
public static void main(String[] args) {