Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old May 11, 2011, 20:33   #1
Tobias
Adept
 
Tobias's Avatar
 
Join Date: Dec 2009
Posts: 172
Tobias is on a distinguished road
SDL-Angband stopped recognizing some keys

Hello guys,

i came back to angband after about a year break.
Now the SDL version of Head 3.2.0-817-g82a3cef ignores the Alt-Gr modifier for the number keys.
I normally have to press Alt-Gr+7 for { but Angband thinks I just pressed the 7 key.

The nonnumber keys work fine, for example AltGr+'+' gives ~ just fine.
All other version (curses, x11 and gtk) also work fine. The SDL-Version of 3.2.0. Works fine too.
Tobias is offline   Reply With Quote
Old May 11, 2011, 21:37   #2
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,912
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Tobias View Post
Hello guys,

i came back to angband after about a year break.
Now the SDL version of Head 3.2.0-817-g82a3cef ignores the Alt-Gr modifier for the number keys.
I normally have to press Alt-Gr+7 for { but Angband thinks I just pressed the 7 key.

The nonnumber keys work fine, for example AltGr+'+' gives ~ just fine.
All other version (curses, x11 and gtk) also work fine. The SDL-Version of 3.2.0. Works fine too.
Can I ask what kind of keyboard layout you are using?
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old May 11, 2011, 23:04   #3
Tobias
Adept
 
Tobias's Avatar
 
Join Date: Dec 2009
Posts: 172
Tobias is on a distinguished road
Quote:
Originally Posted by takkaria View Post
Can I ask what kind of keyboard layout you are using?
Sorry, standard German layout. de_nodeadkeys
Tobias is offline   Reply With Quote
Old May 11, 2011, 23:43   #4
Tobias
Adept
 
Tobias's Avatar
 
Join Date: Dec 2009
Posts: 172
Tobias is on a distinguished road
Oh and I also notice that the sdl version ignores the numlock setting.
If I go in the keymap menu and check the names of the buttons, the numped numbers give the same result weather numlock is on or not. In the other versions this produces 2 different keycodes.
Tobias is offline   Reply With Quote
Old May 17, 2011, 15:35   #5
Tobias
Adept
 
Tobias's Avatar
 
Join Date: Dec 2009
Posts: 172
Tobias is on a distinguished road
I did some bisecting and found that this bug was introduced in:

[0b8581c66ed80a200f545b541cf09cc93875f023] remove macro trigger support from SDL port, move it to use the internal keyset defined in ui-event.h
Tobias is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can I bind macro to shift+numpad keys? fbas Vanilla 3 December 1, 2010 14:59
Down with the SDL! Pete Mack Development 0 August 13, 2009 04:26
SDL sound Nick Development 1 July 16, 2009 21:14
Z+Angband keymaps (w/function keys?) PaulBlay Variants 3 January 30, 2009 04:13
Number and arrow keys Nick Vanilla 3 December 6, 2008 21:58


All times are GMT +1. The time now is 16:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.