From 9acb1a020db6db53f1aaeb1f11fe8bf09860669f Mon Sep 17 00:00:00 2001 From: Florian Echtler Date: Thu, 15 Oct 2015 10:04:31 +0200 Subject: [PATCH 1/2] add (untested) SWIG interface file for Java bindings --- wrappers/freenect2.i | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 wrappers/freenect2.i diff --git a/wrappers/freenect2.i b/wrappers/freenect2.i new file mode 100644 index 000000000..fe9590944 --- /dev/null +++ b/wrappers/freenect2.i @@ -0,0 +1,33 @@ +/* build with: + swig2.0 -c++ -DLIBFREENECT2_API -java freenect2.i + javac ... +*/ + +%module(directors=1) libfreenect2 + +/* Includes that will be added to the generated xxx_wrap.cpp + wrapper file. They will not be interpreted by SWIG */ + +%{ +#include +#include "../include/libfreenect2/libfreenect2.hpp" +%} + +%feature("director") Freenect2Device; +%feature("director") FrameListener; +%include "std_string.i" + +%include ../include/libfreenect2/libfreenect2.hpp +%include ../include/libfreenect2/frame_listener.hpp +%include ../include/libfreenect2/registration.h + +%pragma(java) jniclasscode=%{ + static { + try { + System.loadLibrary("freenect2"); + } catch (UnsatisfiedLinkError e) { + System.err.println("Native library freenect2 failed to load.\n" + e); + System.exit(1); + } + } +%} From aa9368f059993da04ac5fb944652099851617090 Mon Sep 17 00:00:00 2001 From: Florian Echtler Date: Thu, 18 Feb 2016 11:22:37 +0100 Subject: [PATCH 2/2] Create ISSUE_TEMPLATE.md --- .github/ISSUE_TEMPLATE.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..6db7ff827 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,11 @@ +### Please perform the following steps before submitting an issue, and confirm by checking the boxes: + +- [ ] I have read the README and particularly the FAQ section. +- [ ] I have checked the Wiki, particularly the USB section. +- [ ] I have filled out the information below. + +### Which particular branch or release are you working on? + +### What is your operating system (and kernel version, if applicable)? + +### What USB*3* controller are you using?