summaryrefslogtreecommitdiff
path: root/source/in_evdev.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-02-22 15:10:39 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-02-22 15:10:39 +0000
commitb27f5ec9c6a1332eb2ad28dfce9ac4aa33c29f4a (patch)
tree330a3a0d7ffcc975282a059495e4e8b91049c928 /source/in_evdev.c
parent82696013fbcfbd32a95d8b346f94d9a2759d826f (diff)
Removed invalid CVAR_LATCH flag from ‘in_device’.
Diffstat (limited to 'source/in_evdev.c')
-rw-r--r--source/in_evdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/in_evdev.c b/source/in_evdev.c
index f269fa5..1085398 100644
--- a/source/in_evdev.c
+++ b/source/in_evdev.c
@@ -140,7 +140,7 @@ Evdev_StartupMouse
===========
*/
static qboolean Evdev_InitMouse( void ) {
- in_device = Cvar_Get( "in_device", "", CVAR_LATCH );
+ in_device = Cvar_Get( "in_device", "", 0 );
if( !in_device->string[0] ) {
Com_EPrintf( "No input device specified\n" );
return qfalse;
@@ -152,7 +152,7 @@ static qboolean Evdev_InitMouse( void ) {
strerror( errno ) );
return qfalse;
}
-
+
fcntl( evdev.fd, F_SETFL, fcntl( evdev.fd, F_GETFL, 0 ) | FNDELAY );
evdev.io = IO_Add( evdev.fd );