Loading...
Home
Home
Unlocks
Commanders
Map Bans
Polls
Play
Download Zero-K
Download the game, it's free! :)
Maps
Thousands of maps to pick
Replays
All your past victories, stored here!
Mods
Special game modes
Media
Screenshots
Videos
Presskit
Wiki
Index
Newbie guide
Don't know where to begin? Click here.
Video tutorials
Demonstrating both basic and advanced features
Units
Economy
Terraforming
Let's go play in the dirt!
FAQ
Frequently Asked Questions
PlanetWars
PlanetWars
Multiplayer online campaign
Ladder
Factions
The mighty factions controlling huge sectors of galaxy
Community
Forum
Discuss, ask for help, have fun!
Clans
Play with your friends or make friends while playing :)
Ladders
Statistics
Code of Conduct
Be nice, have fun!
Develop
Make the game with us
Privacy Policy
Contact
Contact the Zero-K team
Credits
Makers of Zero-K
Donate
Help cover the server costs!
OR
Zero-K Name:
Password:
Login
Forum index
>
General discussion
>
Development
>
Request: Dvorak KB layout support
7 posts, 802 views
Filter:
Player:
Post comment
sort
Huj
10 years ago
Classical, not "Dvorak for programmers" or so.
For testing devs can install such layout via standart tools of Windows.
+0
/
-0
Orfelius
10 years ago
You can just rebind your keys instead, wich should not be a problem for a guy with "programer" status.
+0
/
-1
GoogleFrog
10 years ago
Are you going to tell everyone with a Dvorak KB to do this? It is probably acceptable if Dvorak users have to tick one box in settings to make the hotkeys work. Nothing beyond that though.
This file could be changed or the reading of it could be changed. Epic menu may already have this functionality.
https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Configs/zk_keys.lua
This table needs to be changed through some options.
https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/gui_chili_integral_menu.lua#L208
+1
/
-0
Huj
10 years ago
(edited 10 years ago)
Key bindings needed to be changed only for commands for units, not to whole interface. I found place after "local gridMap = {..." section. If i send you new bindings, can you add an option to select between "qwerty" and Dvorak's?
May be teoretically unlimited amount of additional layots should be implemented (if not already done), with an ability to choose any during game.
+0
/
-0
homeomorph
10 years ago
I have some modifications I made to zk_keys.lua, gui_chili_integral_menu.lua, gui_chili_gesture_menu.lua, and marking_menu_keys(orwhateveritscalled).lua for dvorak. I haven't made it exactly configurable yet, but "I've been planning on it" to push a patch at some point.
One annoying part is that you do have to go through and change the main Spring keybindings. I'm not sure how to make that configurable.
+0
/
-0
Huj
10 years ago
(edited 10 years ago)
...In another words, i am requesting to change only positionally assigned keys (used to select building in the builder menu, may be in some other places).
If action is assigned to letter=key, no need to change.
+0
/
-0
homeomorph
10 years ago
Since there's no guarantee I'll ever get around to actually making a patch, here are my versions of the following files:
Here's my LuaUI/Widgets/gui_chili_integral_menu.lua:
https://gist.github.com/kmill/8c79627d25d8036745c1
Here's my LuaUI/Widgets/gui_chili_gesture_menu.lua:
https://gist.github.com/kmill/ab0f30ed4de3d3740260
Here's my LuaUI/Configs/marking_menu_keys.lua:
https://gist.github.com/kmill/ac7ad0804f5fe9e1687d
The patch to marking_menu_keys is only used by my patch to gui_chili_gesture_menu.
+0
/
-0
Post comment