|
Hydrogen Forum >
Development questions >
Keyboard entry in SongEditor - patch supplied
Phil_P
Member
5 posts
09:18 GMT
2 June 2008 |
Keyboard entry in SongEditor - patch supplied
Hi, The attached patch allows use of the keyboard to toggle squares in the song editor window (you can still use the mouse too!) Anyone think this is a useful addition? After applying the attached patch you can use the keyboard in the following way... first click in a song editor square with the mouse. The up, down, left and right keys can then be used to navigate the grid. The state of a square is toggled by pressing return. To apply the patch to version 0.9.3... cd <tmp_empty_dir> tar xzf hydrogen-0.9.3.tar.gz gunzip hydrogen-0.9.3.patch.gz patch -p0 < hydrogen-0.9.3.patch Sorry, the cvs version of hydrogen does not compile on my gentoo system, so I was not able to make a patch for that. (Fails to detect Qt4 - which IS installed, but gentoo probably installs it into an unusual place.) Cheers |
|
|
mauser
Member
463 posts
17:34 GMT
2 June 2008 |
Hi, thanks for your patch! It would be great if you could check if http://hydrogen-music.org/devel/wiki/development%3Aqt4compile resolves your troubles with QT4 (you have to check where gentoo installed your QT and set the QTDIR variable). Thanks, mauser |
|
|
Phil_P
Member
5 posts
07:58 GMT
3 June 2008 |
Thanks for the link. One of the other chaps in our band, a qt guru, has just volunteered to try updating the patch for the cvs version. Hopefully we'll have an update to post in the next few days. |
|
|
Phil_P
Member
5 posts
20:23 GMT
13 August 2009 |
I've just updated this patch for 0.9.4 RC 1 For some reason the forum won't let me attach the patch directly, so here's an external link to the file... http://www.proudman51.freeserve.co.uk/hydrogen-0.9.4-rc1-1.patch.gz Instructions for use are the same as in the original post... first click in a song editor square with the mouse. Then the up, down, left and right keys can then be used to navigate the grid. The state of a square is toggled by pressing return. |
|
|
nitro
Member
25 posts
05:22 GMT
15 August 2009 |
^
tryin on ...-rc2 end svn(1314), build error, if needed, can post log. sorry for bad english. |
|
|
Phil_P
Member
5 posts
19:11 GMT
21 August 2009 |
|
|
|
nitro
Member
25 posts
09:02 GMT
23 August 2009 |
Thank's, i try it. goood:) |
|
|
Phil_P
Member
5 posts
10:27 GMT
24 August 2009 |
Does anyone else think this is a useful addition? Can this change be incorporated into the svn repository for inclusion in future releases? |
|
|
nitro
Member
25 posts
15:26 GMT
24 August 2009 |
*bouncing* i think, ithink!! :) Really, very comfortable. Generally, keyboard manipulating is a necesary thing. |
|
|
mauser
Member
463 posts
11:14 GMT
26 August 2009 |
Hi! @Phil: Yeah, that's a cool feature. Please add a ticket at our bugtracker so we remember to implement it :) You can even attach your patch there. I'm planing to implement a more general configuration editor for keybindings in one of the next hydrogen version, so i don't want to integrate your patch at the moment. |
|
|
|