SDL-Angband stopped recognizing some keys

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tobias
    Adept
    • Dec 2009
    • 172

    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.
    My Angband videos : http://www.youtube.com/view_play_lis...385E85F31166B2
  • takkaria
    Veteran
    • Apr 2007
    • 1951

    #2
    Originally posted by Tobias
    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-

    Comment

    • Tobias
      Adept
      • Dec 2009
      • 172

      #3
      Originally posted by takkaria
      Can I ask what kind of keyboard layout you are using?
      Sorry, standard German layout. de_nodeadkeys
      My Angband videos : http://www.youtube.com/view_play_lis...385E85F31166B2

      Comment

      • Tobias
        Adept
        • Dec 2009
        • 172

        #4
        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.
        My Angband videos : http://www.youtube.com/view_play_lis...385E85F31166B2

        Comment

        • Tobias
          Adept
          • Dec 2009
          • 172

          #5
          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
          My Angband videos : http://www.youtube.com/view_play_lis...385E85F31166B2

          Comment

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎