This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#include <SDL2/SDL.h> | |
/* | |
* | |
* STRUCTS, Enums and Typedefs | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL2/SDL.h> | |
int main(void) { | |
SDL_Init(SDL_INIT_EVERYTHING); | |
SDL_GameControllerAddMappingsFromFile("gamecontrollerdb.txt"); | |
SDL_Window *window = SDL_CreateWindow("Controllers", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 800, 600, SDL_WINDOW_SHOWN); | |
SDL_Renderer *renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC); | |
SDL_bool is_running = SDL_TRUE; | |
SDL_GameController *ctrl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[tikz]{standalone} | |
\usepackage{amsmath} | |
\usepackage{bm} | |
\usepackage{tikz} | |
\usepackage{pgfplots} | |
\usetikzlibrary{arrows.meta} | |
\usetikzlibrary{backgrounds} | |
\usetikzlibrary{calc} | |
\usetikzlibrary{fit} | |
\usetikzlibrary{positioning} |
OlderNewer