Dynamically load wintab32.dll
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403177
This commit is contained in:
parent
d9f99f5203
commit
a13b4b8736
9 changed files with 60 additions and 11 deletions
|
@ -136,7 +136,9 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
case WT_PACKET:
|
||||
{
|
||||
/* if we receive such data we need to update the pressure */
|
||||
if (WTPacket((HCTX) lParam, wParam, &packet)) {
|
||||
SDL_VideoData *videodata = data->videodata;
|
||||
if (videodata->wintabDLL
|
||||
&& videodata->WTPacket((HCTX) lParam, wParam, &packet)) {
|
||||
SDL_ChangeEnd(tablet, (int) packet.pkCursor);
|
||||
pressure = (int) packet.pkNormalPressure;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue