Skip to content

Instantly share code, notes, and snippets.

@grrussel
grrussel / patch.diff
Created July 26, 2016 19:27
Multiple joystick / controllers for SImple2D
From ddcb39e799fa19a904f3ed96b196d94957ba28ce Mon Sep 17 00:00:00 2001
From: George Russell <grrussel@gmail.com>
Date: Mon, 25 Jul 2016 19:03:36 +0200
Subject: [PATCH] Remove helper message (+1 squashed commit) Squashed commits:
[374c548] Fix the fix! (+1 squashed commit) Squashed commits: [edc590a] Fix
for multiple controllers
---
include/simple2d.h | 2 +-
src/simple2d.c | 7 ++-----
@grrussel
grrussel / patch.diff
Created December 30, 2016 11:53
Simple DrawTriangles for Simple2D
From bc7c14df1c80e30307657e061c91b497309ddc17 Mon Sep 17 00:00:00 2001
From: George Russell <grrussel@gmail.com>
Date: Fri, 30 Dec 2016 12:45:59 +0100
Subject: [PATCH] Draw Triangles
---
include/simple2d.h | 9 +++++++++
src/gl.c | 16 ++++++++++++++++
src/gl3.c | 14 ++++++++++++++
@grrussel
grrussel / patch.diff
Created July 2, 2017 15:41
Touch Event Support for Simple2D
diff --git a/README.md b/README.md
index 2f09eed..f5412d7 100644
--- a/README.md
+++ b/README.md
@@ -596,6 +596,43 @@ S2D_ShowCursor(true);
S2D_ShowCursor(false);
```
+### Touch Displays
+