fixed C++ code in multi-touch demo (thanks Geoff McLane!)