OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: fromhell on July 15, 2011, 01:09:37 AM



Title: SDL + W7 = EVIL! (RESAVLED)
Post by: fromhell on July 15, 2011, 01:09:37 AM
Can't get into the console now, on any ioq3 using SDL 1.2.14 using the latest Windows 7 update

Any other Windows 7 users want to confirm this new regression?


Title: Re: SDL + W7 = EVIL!
Post by: Cacatoes on July 15, 2011, 03:12:15 AM
Shift + ESC ?


Title: Re: SDL + W7 = EVIL!
Post by: RMF on July 15, 2011, 05:37:37 AM
Even the default (grave) key works here on Win7, also on a friend's pc.


Title: Re: SDL + W7 = EVIL!
Post by: fromhell on July 15, 2011, 02:47:23 PM
well ~ is unfunctional. This is bad because I prefer ~ over Shift-Esc as that requires hand stretching


I should mention darkplaces_sdl can use the ~ key, it's just ioq3 stuff that can't - even really old builds can't do it now.


SDL really needs an 'unsuck' fork.


Title: Re: SDL + W7 = EVIL!
Post by: sago007 on July 15, 2011, 03:39:49 PM
I think the problem is in the translation layer in between K-keys and SDL-keys. SDL can bind keys by location but the translation layer always translates by literal value. ioquake3 is not the only engine with that problem. Valve's Soruce engine has the same problem.


Title: Re: SDL + W7 = EVIL!
Post by: andrewj on July 16, 2011, 03:23:10 AM
WINDOWS really needs an 'unsuck' fork.
fixed that for ya

can't blame SDL when it's Microsoft breaking compatibility.

though some development of SDL would be nice......


Title: Re: SDL + W7 = EVIL!
Post by: 7 on July 16, 2011, 07:06:12 AM
Just a stupid question: couldn't this be fixed easily by determining what scancode Windows 7 actually returns for the ~ key and including that scancode in cl_consoleKeys?


Title: Re: SDL + W7 = EVIL!
Post by: Graion Dilach on July 16, 2011, 09:56:48 AM
I guess so, but cl_consolekeys is not set by default. Only bind toggleconsole is set.


Title: Re: SDL + W7 = EVIL!
Post by: 7 on July 16, 2011, 10:09:26 AM
I'm on Linux (dunno if that makes any difference), and over here cl_consoleKeys is set to "" ' 0x7e 0x60" by default. That works like a charm, as long as I disable dead-keys (switch the keyboard language to US).


Title: Re: SDL + W7 = EVIL! (RESAVLED)
Post by: fromhell on July 21, 2011, 01:03:10 AM
I solved it!

For some reason, "Microsoft eHome" keyboard drivers were installed for my plain ol keyboard. Removing those devices makes ` work, and + work too (couldn't resize upward in Chocolate Doom either)


Title: Re: SDL + W7 = EVIL! (RESAVLED)
Post by: fromhell on August 02, 2011, 12:09:59 AM
Yeah (http://answers.microsoft.com/en-us/windows/forum/windows_vista-hardware/cannot-permanently-uninstall-mcir-keyboard-drivers/296b1acf-21a0-4f24-a7f9-d50aa0f8f0bf)


Title: Re: SDL + W7 = EVIL! (RESAVLED)
Post by: dbX on August 02, 2011, 04:17:55 AM
Yeah (http://answers.microsoft.com/en-us/windows/forum/windows_vista-hardware/cannot-permanently-uninstall-mcir-keyboard-drivers/296b1acf-21a0-4f24-a7f9-d50aa0f8f0bf)

Wow, ms really fucked up that one.


Title: Re: SDL + W7 = EVIL! (RESAVLED)
Post by: 7 on August 02, 2011, 08:14:21 AM
Did you disable/uninstall the 'Microsoft eHome Infrared Transceiver' in the Device Manager (under 'Human Interface Devices')? If you uninstall the keyboard driver only, the IR driver thinks the keyboard installation is incomplete or corrupt and reinstalls it.