1
0
Fork 0
forked from fte/fteqw

fix multitouch.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4164 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-12-15 00:25:54 +00:00
parent d8fdaabfe4
commit 8ba7a5b9f7

View file

@ -465,7 +465,7 @@ void IN_KeyEvent(int devid, int down, int keycode, int unicode)
if (!ev)
return;
ev->type = down?IEV_KEYDOWN:IEV_KEYRELEASE;
ev->devid = 0;
ev->devid = devid;
ev->keyboard.scancode = keycode;
ev->keyboard.unicode = unicode;
in_finishevent();