Skip to content

Commit 2091cf0

Browse files
Added gesture support (?)
1 parent 32ee200 commit 2091cf0

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

touch.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#include "touch.hh"
2+
#include <SDL.h>
3+
4+
namespace SDL {
5+
void record_gesture() {
6+
SDL_RecordGesture(-1);
7+
}
8+
}

touch.hh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <iostream>
2+
3+
4+
namespace SDL {
5+
void record_gesture();
6+
// TODO: save templates
7+
}

0 commit comments

Comments
 (0)