Skip to content

Instantly share code, notes, and snippets.

View Zingam's full-sized avatar

Hristo Hristov Zingam

  • Roccoor Multimedia
View GitHub Profile
@jasonwhite
jasonwhite / joystick.c
Last active April 9, 2025 21:20
Reads joystick/gamepad events on Linux and displays them.
/**
* Author: Jason White
*
* Description:
* Reads joystick/gamepad events and displays them.
*
* Compile:
* gcc joystick.c -o joystick
*
* Run:
@vittorioromeo
vittorioromeo / FastFunc.hpp
Last active August 24, 2023 08:15
Don Clugston's fast delegate C++11 implementation
#ifndef SSVU_FASTFUNC
#define SSVU_FASTFUNC
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>