3.3.1 keymap bug?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chud
    Swordsman
    • Jun 2010
    • 309

    3.3.1 keymap bug?

    I'm not sure if this is a bug; perhaps I'm trying to define something I shouldn't... :-) However, when I try to define a keymap for the keypad "-" key, it doesn't seem to work correctly.

    I define the keymap, which the system shows as going with {K}- and give it the meaning "m4a" (no quotes of course).

    When I use it, it should ask me for targeting information, but instead my frost ball fires immediately, always to the lower left -- the "1" direction.

    A similar keymap defined for "-" on the main keyboard works as expected.

    This is for the newly released 3.3.1, and also the previous release candidate 7262006, on Windows 7.
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    Originally posted by Chud
    I'm not sure if this is a bug; perhaps I'm trying to define something I shouldn't... :-) However, when I try to define a keymap for the keypad "-" key, it doesn't seem to work correctly.

    I define the keymap, which the system shows as going with {K}- and give it the meaning "m4a" (no quotes of course).

    When I use it, it should ask me for targeting information, but instead my frost ball fires immediately, always to the lower left -- the "1" direction.

    A similar keymap defined for "-" on the main keyboard works as expected.

    This is for the newly released 3.3.1, and also the previous release candidate 7262006, on Windows 7.
    I suspect this is a bug, and I suspect it's present in 3.3.0 too. I will see if I can reproduce it on Linux.
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • PowerWyrm
      Prophet
      • Apr 2008
      • 2986

      #3
      The problem with the keypad under Windows has not been fixed in 3.3.1 (keys '/', '*', '-', '+' and '.' produce double input when pressed). So don't assign keymaps to these keys...
      PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

      Comment

      • Magnate
        Angband Devteam member
        • May 2007
        • 5110

        #4
        Originally posted by PowerWyrm
        The problem with the keypad under Windows has not been fixed in 3.3.1 (keys '/', '*', '-', '+' and '.' produce double input when pressed). So don't assign keymaps to these keys...
        Ah, thank you. This is already logged as #1494, so it's on the radar for fixing in 3.4 ...
        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

        Comment

        • ewan
          Adept
          • Aug 2007
          • 108

          #5
          I am guessing that this is the same bug (?) but: starting up the latest comp, it appears that directional movement using numbers is borked: e.g. hitting '1' once does nothing, but then hitting it again brings up 'Direction or <click>?'

          Is it possible to get this fixed for the comp, or is that unlikely?

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9634

            #6
            Originally posted by ewan
            I am guessing that this is the same bug (?) but: starting up the latest comp, it appears that directional movement using numbers is borked: e.g. hitting '1' once does nothing, but then hitting it again brings up 'Direction or <click>?'

            Is it possible to get this fixed for the comp, or is that unlikely?
            I think this is the movement delay issue seen in the comp thread - to fix it, go into options and set movement delay to 0.
            One for the Dark Lord on his dark throne
            In the Land of Mordor where the Shadows lie.

            Comment

            • ewan
              Adept
              • Aug 2007
              • 108

              #7
              Confirmed. Thanks, Nick.

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #8
                Originally posted by ewan
                Confirmed. Thanks, Nick.
                Please note that the problem described by PowerWyrm (recorded as ticket #1494) is still extant. According to Blubaron, it is almost impossible to fix, because different keyboards behave differently on different Windows machines. I will release a 3.3.2 RC which 'works' for all the Windows machines we are able to test, and we'll see what happens.
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

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