Pages: [1]
|
|
|
Author
|
Topic: How are the starmap zoom keys changed (Read 10185 times)
|
Angelswrath
Zebranky food
Offline
Posts: 2
|
Please help me. My computer does not have a num-pad and I need to change the keys to something useful. Which file do i edit to do this and where do i find it.
|
|
|
Logged
|
|
|
|
Novus
Enlightened
Offline
Gender:
Posts: 1938
Fot or not?
|
First, RTTFAQ. We can't help you find stuff without knowing what operating system you use and you should be able to find what you need in the FAQ. You should also tell us which version of UQM you are running and where you got it. Also, when reporting problems with keys, it would help to know what sort of keyboard you are using, particularly the layout. In this case, note that many laptop keyboards use part of the main keyboard as a numerical keypad if Num Lock is on; would that help you?
In UQM 0.6.2, you can edit keys.cfg in your UQM settings directory; just change or add definitions for Menu-Zoom-In and Menu-Zoom-Out.
|
|
|
Logged
|
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3874
We did. You did. Yes we can. No.
|
Do you have a 'fn' key? That should allow a variety of numeric keypad-style controls, including pageup and pagedown. It basically turns the right half of the keyboard into a numeric keypad.
|
|
|
Logged
|
|
|
|
quine666
Zebranky food
Offline
Posts: 1
|
The instructions given here for fixing the keymap on newer MacBooks no longer apply to 0.7.0.
I spent a few hours searching the net and looking at code and finally figured out that if you put a file called "override.cfg" in your .uqm directory you can reassign the zoom keys. For example:
zoomout.1 = STRING:key [ zoomin.1 = STRING:key ]
Assigns "zoom out" to "[" and "zoom in" to "]".
Note that "keys.cfg" no longer exists in 0.7.0 and the syntax has changed.
Also note that the "fn" key does not generate keymap keycodes on newer MacBooks -- this feature was discontinued several years ago.
I'm posting this here in the hope that other MacBook users can spend their time playing Ur Quan Masters, rather than searching the internet for nonexistent documentation on how to fix this problem...
Cheers,
-andrew
|
|
|
Logged
|
|
|
|
CelticMinstrel
Enlightened
Offline
Posts: 522
|
Mac laptops do not have the "fake" numeric keypad that most non-Mac laptops have, accessed via the fn key. The old PowerBooks did, I believe, but since then it's been removed for some reason I fail to comprehend.
|
|
|
Logged
|
|
|
|
|
|
spinacci
Zebranky food
Offline
Posts: 19
|
The instructions given here for fixing the keymap on newer MacBooks no longer apply to 0.7.0.
I spent a few hours searching the net and looking at code and finally figured out that if you put a file called "override.cfg" in your .uqm directory you can reassign the zoom keys. For example:
zoomout.1 = STRING:key [ zoomin.1 = STRING:key ]
Assigns "zoom out" to "[" and "zoom in" to "]".
Note that "keys.cfg" no longer exists in 0.7.0 and the syntax has changed.
Also note that the "fn" key does not generate keymap keycodes on newer MacBooks -- this feature was discontinued several years ago.
I'm posting this here in the hope that other MacBook users can spend their time playing Ur Quan Masters, rather than searching the internet for nonexistent documentation on how to fix this problem...
Cheers,
-andrew
Hi, Where can I find the .uqm directory? I tried looking at the Contents but I don't see a directory there and I also tried using the terminal but could not find a .uqm directory. I tried looking for .uqm directory through the Finder but none was found. EDIT: Found it. it was under the user directory. Whoohoo! thanks In case someone is playing with the MegaMod 0.8.0 Rev 4, the zoom in and out on the Mac is the fn key + arrow up/down.
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|