Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old January 27, 2009, 18:23   #1
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Z+Angband keymaps (w/function keys?)

I'd like to assign the function keys to do stuff. (e.g. [F1] for f1c = fire inscribed-with-1 at nearest) but it doesn't seem to recognize when I press function keys. (Windows XP, latest Z+Angband version). Is there some way around that?

Alternatively is there a decent guide to keymap / macro usage I should be looking at?
PaulBlay is offline   Reply With Quote
Old January 27, 2009, 18:36   #2
Daniel Fishman
Adept
 
Join Date: Apr 2007
Age: 29
Posts: 131
Daniel Fishman is on a distinguished road
If you want to assign the function keys to do stuff, use macros rather than keymaps.
Daniel Fishman is offline   Reply With Quote
Old January 27, 2009, 18:49   #3
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by Daniel Fishman View Post
If you want to assign the function keys to do stuff, use macros rather than keymaps.
Thanks, that worked.

I'm sure there's some technical reason for the split between keymapping and macros ... but I probably don't want to know.
PaulBlay is offline   Reply With Quote
Old January 30, 2009, 05:13   #4
Mangojuice
Z+Angband Maintainer
 
Join Date: Jun 2008
Posts: 318
Mangojuice is on a distinguished road
Quote:
Originally Posted by PaulBlay View Post
Thanks, that worked.

I'm sure there's some technical reason for the split between keymapping and macros ... but I probably don't want to know.
Not sure completely since I didn't work on that part of the code. But one difference is that macros take effect every time you press a key, whereas keymaps are only used during commands. I often keymap ! to "k- y "; when I use a macro instead, I can't put "!" in inscriptions as it gets replaced there also.
__________________
-----------------------------------------
Z+Angband: A Zangband evolution
http://tinyurl.com/5pq2bd
Mangojuice 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
Number and arrow keys Nick Vanilla 3 December 6, 2008 22:58
Some questions about macros and keymaps danvari Vanilla 4 August 14, 2008 22:44
[All] Keyboard interface and keymaps Remuz Vanilla 12 April 18, 2008 00:24
Macros/keymaps question Jude Variants 7 November 18, 2007 22:45


All times are GMT +1. The time now is 12:15.


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