My first contribution on esr :D

I was annoyed because binding quake 3's keys to the german layout didn't work as expected for all keys(e.g. ö,ä,ü)
So I quickly coded me a tool. It creates a config that binds keys from 0x00 to 0xff, to just say the key's code.
This should work for all other layouts aswell.
Maybe it also works for other quake based games.

hf


the code for those who are interested:
#include <fstream>
int main(int argc, char* argv[])
{
std::ofstream out("keys.cfg");
int i;
out << std::hex; // out as hex
for(i=0; i < 16; i++)
out << "bind 0x0" << i << " \"say 0x0" << i << "\"" << std::endl;
for(i=16; i < 256; i++)
out << "bind 0x" << i << " \"say 0x" << i << "\"" << std::endl;
return 0;
}