Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Norwegian layout not supported for console #33

Closed
kujeger opened this Issue Aug 14, 2012 · 6 comments

Comments

4 participants

kujeger commented Aug 14, 2012

As per the FAQ, these are the codes:
no shift: | 007C 124
shift: § 00A7 167

Thanks for the work done on dhewm 3!

@DanielGibson DanielGibson added a commit to DanielGibson/dhewm3 that referenced this issue Sep 9, 2012

@DanielGibson DanielGibson Add support for norwegian keyboard layout
via "in_kbd norwegian". It's the '|' and '§' chars (124, 167)

Fixes #33
3f450d8
Member

DanielGibson commented Sep 9, 2012

Hi kujeger,

could you please test the patch?

Thanks :-)

Contributor

andre-d commented Sep 10, 2012

I think we should add a gui which just says "Press the console key or select one from the list"

cmd line argument on launch would be a better solution (like ./dhewm3 +set kb_norway or ./dhewm3 -kb_norway)

Contributor

andre-d commented Sep 10, 2012

With a GUI we would be able to have anyone set their own console key even if we do not have the lang coded in...unless you want to do it like +set kb_console_key COME_CODE or something, where SOME_CODE is the actual key code which we want to look for.

well, I play in English :)

http://en.wikipedia.org/wiki/Keyboard_layout#Norwegian << I see ~ there, so I don't get why bind ~ "console" (or whatever it is in idTech 4) wouldn't work :/

kujeger commented Sep 10, 2012

The patch works perfectly. Thanks!

@DanielGibson DanielGibson added a commit to DanielGibson/dhewm3 that referenced this issue Oct 6, 2012

@DanielGibson DanielGibson Add support for norwegian keyboard layout
via "in_kbd norwegian". It's the '|' and '§' chars (124, 167)

Fixes #33
8b00f23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment