It is currently 18 Apr 2024, 05:56
   
Text Size

Pull request: Custom Key Binding

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

Pull request: Custom Key Binding

Postby ekendra » 20 Oct 2016, 04:57

One of my programming students finished all of his assessments for the year and needed things to do. He's brilliant with Java so he added custom key binding to the preference menu so that users can now replace the F keys with their own bindings. I've tested it and it works.

The pull request is sitting there in Github and is fully compatible with 1.4.16_v3 (2016-10-09)
ekendra
 
Posts: 3
Joined: 20 Oct 2016, 04:49
Has thanked: 0 time
Been thanked: 2 times

Re: Pull request: Custom Key Binding

Postby ekendra » 20 Oct 2016, 05:01

If you appreciate his effort, please merge his code and give him some thanks here so I can encourage him.
ekendra
 
Posts: 3
Joined: 20 Oct 2016, 04:49
Has thanked: 0 time
Been thanked: 2 times

Re: Pull request: Custom Key Binding

Postby LevelX » 20 Oct 2016, 13:42

Nice work and a very welcome addition. it's merged to the main repository.
Maybe he can add two little things if some time is left:
1) If I set a KEY that is already used for another actions, set these other action to Key = <nothing>.
2) In the preferences add a button to reset the controls back to their default values.

Feel free to give him more tasks, we appreciate his work. :D
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 48 guests

cron

Who is online

In total there are 48 users online :: 0 registered, 0 hidden and 48 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 48 guests

Login Form