1 // Copyright (c) 2015 Sergio Gonzalez. All rights reserved. 2 // License: https://github.com/serge-rgb/milton#license 3 4 #pragma once 5 6 7 // NOTE 8 // Since we are using NSEvent to get tablet data, we are forcing OSX >= 10.4 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 void milton_osx_tablet_hook(/* NSEvent* */void* event); 15 float* milton_osx_poll_pressures(int* out_num_pressures); 16 17 #ifdef __cplusplus 18 } 19 #endif 20