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:
parent
d8fdaabfe4
commit
8ba7a5b9f7
1 changed files with 89 additions and 89 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue