Dear Dillo developers, I noticed that the key configuration via keysrc does not recognize mouse keys. So I am wondering whether anybody already thought about adding mouse keys? I think for many users something like <shift>mouse1 = new-tab mouse9 = forward mouse8 = back in keysrc would be very convenient. (This would probably make the options middle_click_opens_new_tab and middle_click_drags_page in dillorc obsolete.) Kind regards, Alexander
Dear Dillo Developers, I played a bit with the mouse keys in FLTK/Dillo and created a small patch which enables the bindings of the mouse buttons 1-9 in keysrc (see appendix). Now it is possible to write in your keysrc button8 = back button9 = forward to use the mouse buttons 8 and 9 to jump backward and forward in the page history (this the setting which is used e.g. in Firefox). Please feel free to use it! Kind regards, Alexander On Sun, Jun 19, 2011 at 11:30:24AM +0200, Alexander Voigt wrote:
Dear Dillo developers,
I noticed that the key configuration via keysrc does not recognize mouse keys. So I am wondering whether anybody already thought about adding mouse keys? I think for many users something like
<shift>mouse1 = new-tab mouse9 = forward mouse8 = back
in keysrc would be very convenient. (This would probably make the options middle_click_opens_new_tab and middle_click_drags_page in dillorc obsolete.)
Kind regards, Alexander
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
Alexander wrote:
I played a bit with the mouse keys in FLTK/Dillo and created a small patch which enables the bindings of the mouse buttons 1-9 in keysrc (see appendix). Now it is possible to write in your keysrc
button8 = back button9 = forward
to use the mouse buttons 8 and 9 to jump backward and forward in the page history (this the setting which is used e.g. in Firefox). Please feel free to use it!
I haven't tried this out yet, but I was wondering: Are there any issues with having buttons as both keys and modifiers? (Of the two, having them as keys does seem more useful than modifiers.) I wonder whether we will eventually have to bring in some idea of contexts to specify what to do when this key is seen and you're on a link or a tab or whatever, as was alluded to with removing middle_click dillorc options.
Alexander wrote:
I played a bit with the mouse keys in FLTK/Dillo and created a small patch which enables the bindings of the mouse buttons 1-9 in keysrc
Have you noticed anything definitive in FLTK on how many buttons it can handle? FL_BUTTONS appears to expect a limit of 7. Fl::event_key() appears to think the limit is 8. FL_Button would have room for 31. ..but I only looked for a couple of minutes.
On Thu, Jun 23, 2011 at 11:25:36PM +0000, corvid wrote:
Alexander wrote:
I played a bit with the mouse keys in FLTK/Dillo and created a small patch which enables the bindings of the mouse buttons 1-9 in keysrc
Have you noticed anything definitive in FLTK on how many buttons it can handle?
FL_BUTTONS appears to expect a limit of 7. Fl::event_key() appears to think the limit is 8. FL_Button would have room for 31.
..but I only looked for a couple of minutes.
I have no clue. :) BTW, I was wondering whether e.g. mouse7 was a real button or some kind of gesture/combination. -- Cheers Jorge.-
participants (3)
-
corvid@lavabit.com
-
Hole.destructor@gmx.de
-
jcid@dillo.org