Skip to content

Instantly share code, notes, and snippets.

@MareArts
Created December 30, 2016 02:16
Show Gist options
  • Save MareArts/f252f5c9862dd9ce3665bd8c5db0994d to your computer and use it in GitHub Desktop.
Save MareArts/f252f5c9862dd9ce3665bd8c5db0994d to your computer and use it in GitHub Desktop.
test.cpp
typedef void(*PenConnectFun)(unsigned long long time, const char* penSerial, int penType);
typedef void(*PenDisconnectFun)(unsigned long long time, const char* penSerial, int penType);
typedef void(*PenUpFun)(unsigned long long time, const char* penSerial, int penType);
typedef void(*PenDownFun)(unsigned long long time, const char* penSerial, int penType);
typedef void(*PenErrorFun)(unsigned long long time, const char* penSerial, int penType);
typedef void(*PenBatteryCriticalFun)(unsigned long long time, const char* penSerial, int penType);
typedef void(*PenBatteryWarningFun)(unsigned long long time, const char* penSerial, int penType);
typedef void(*PenInfoFun)(unsigned long long time, const char* penSerial, int penType, const char* productName, const char* btAddr, const char* sw, const char* hw, unsigned short pid, unsigned short vid);
typedef void(*PenCoordinateFun)(unsigned long long time, const char* penSerial, int penType, const char* pageSerial, unsigned long long pageId, int nx, int ny, unsigned char force);
typedef void(*PenNewPageFun)(unsigned long long time, const char* penSerial, int penType, const char* pageSerial, unsigned long long pageId);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment