ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Numpad keys

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
Memfis
MemfisWatt


Joined: 29 Oct 2011

PostPosted: Thu Feb 09, 2012 5:49 pm    Post subject: Numpad keys Reply with quote

Hi.
I wanted to bind weapons to numpad keys, so I added those lines to zdoom.ini:
Code:
kp1=slot 1
kp2=slot 2
kp3=slot 3
kp4=slot 4
kp5=slot 5
kp6=slot 6
kp0=slot 7

But it worked only for slot 5.
I've been told that this is a very old zdoom problem. Please fix it!
Back to top
View user's profile Send private message
Memfis
MemfisWatt


Joined: 29 Oct 2011

PostPosted: Thu Apr 12, 2012 12:34 pm    Post subject: Reply with quote

...bump?
Back to top
View user's profile Send private message
phenex2
Unstoppable!


Joined: 10 Jan 2008

PostPosted: Thu Apr 12, 2012 4:22 pm    Post subject: Reply with quote

sorry about the late answer! set the cvar i_remapkeypad to false. that will make it work in the current releases.
i'll check what the later zdoom versions did in that part of the code still.
Back to top
View user's profile Send private message
Memfis
MemfisWatt


Joined: 29 Oct 2011

PostPosted: Thu Apr 12, 2012 4:57 pm    Post subject: Reply with quote

Thanks, works now. Smile
Back to top
View user's profile Send private message
phenex2
Unstoppable!


Joined: 10 Jan 2008

PostPosted: Thu Apr 12, 2012 7:16 pm    Post subject: Reply with quote

ok so it seems that zdoom just removed the cvar and made the keypad bindable always.
not a fan of that solution because the remapping can be useful for someone that likes to use the arrow keys and pgup/pgdown.
i made it remap the keys depending on the numlock state for b27. that means that when numlock is on (as it should be for most users) you can use the keys when binded and when numlock is disabled you can use the arrow keys and so on.

moved to features since it technically wasn't a bug Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group