]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Do not enable tablet if table options are disabled.
authorToni Wilen <twilen@winuae.net>
Sun, 8 Feb 2015 14:14:33 +0000 (16:14 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 8 Feb 2015 14:14:33 +0000 (16:14 +0200)
od-win32/dinput.cpp

index c0a1759080f7134c7c98722a87eca0e7a9519e3f..d677a427445e5cd16288c1275529b983ea0571e3 100644 (file)
@@ -720,6 +720,8 @@ void *open_tablet (HWND hwnd)
 
        if (!tablet)
                return 0;
+       if (inputdevice_is_tablet () <= 0)
+               return 0;
        xmax = -1;
        ymax = -1;
        zmax = -1;