Skip to content

Instantly share code, notes, and snippets.

@Henje
Henje / papers_please_fix.cpp
Last active Mar 9, 2022
Simple hack to disable joystick scanning and remove stutters from Papers Please.
View papers_please_fix.cpp
#include <string>
#include <dlfcn.h>
#include <stdio.h>
#include <sys/mman.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
using namespace std::literals;