%module jsupm_rotaryencoder %include "../upm.i" %{ #include "rotaryencoder.h" %} %include "rotaryencoder.h"