Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old September 22, 2011, 06:16   #1
Chud
Adept
 
Join Date: Jun 2010
Posts: 151
Chud is on a distinguished road
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.
Chud is offline   Reply With Quote
Old September 22, 2011, 07:39   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,003
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by Chud View Post
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.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 26, 2011, 13:44   #3
PowerWyrm
Knight
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 753
PowerWyrm is on a distinguished road
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 http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old September 26, 2011, 14:24   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,003
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by PowerWyrm View Post
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 ...
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old September 26, 2011, 20:56   #5
ewan
Adept
 
Join Date: Aug 2007
Posts: 108
ewan is on a distinguished road
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?
ewan is offline   Reply With Quote
Old September 27, 2011, 00:19   #6
Nick
FAangband maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 49
Posts: 4,393
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by ewan View Post
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 Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old September 27, 2011, 04:13   #7
ewan
Adept
 
Join Date: Aug 2007
Posts: 108
ewan is on a distinguished road
Confirmed. Thanks, Nick.
ewan is offline   Reply With Quote
Old September 27, 2011, 11:43   #8
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,003
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by ewan View Post
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.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate 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
Keymap issue... dhegler Development 2 August 17, 2011 04:01
Keymap documentation? Timo Pietilš Development 11 June 2, 2011 17:46
A minor keymap question Tobias Vanilla 0 May 26, 2011 00:56
Can't use \r in keymap in latest nightly Max Stats Development 4 March 1, 2011 18:22
Keyboard basic keymap image fbas Vanilla 14 December 16, 2010 22:37


All times are GMT +1. The time now is 17:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.