SWY1985 / CivOne

An open source implementation of Sid Meier's Civilization.
http://www.civone.org/
Creative Commons Zero v1.0 Universal
245 stars 49 forks source link

Fix using keypad with numlock off #459

Closed cdonges closed 6 years ago

cdonges commented 6 years ago

My laptop has no numeric keypad but it does have page up/down and home/end. This pr allows me to use those buttons.

SWY1985 commented 6 years ago

For keyboards without keypad, I have created a patch. You need to run the CivOne setup and enable the "ENABLE (NO KEYPAD) ARROW HELPER" patch. I think this is less confusing than using the Home/End/PageUp/PageDown keys, as they are often located at illogical positions if you want to use them for diagonical movement.

cdonges commented 6 years ago

I didn't know about the helper. I just tried it and it works well.

However the dos civ uses the page up/own and home/end keys and my PR makes CivOne work the same way.

SWY1985 commented 6 years ago

You're right, I didn't know that.