Hot-Honeys



.

Author Topic: Reassign keyboard shortcuts?  (Read 98 times)

0 Members and 1 Guest are viewing this topic.

Offline Anjo

  • Newbie
  • *
  • Joined: May 2016
  • Posts: 3
  • Reputation: 0
Reassign keyboard shortcuts?
« on: January 18, 2017, 06:23 pm »
Is it possible to reassign the Shift+Page Down and Shift+Page Up keyboard shortcuts or are they hardcoded in?

Thanks.

Offline firewaran

  • Moderator
  • *****
  • Joined: Apr 2016
  • Posts: 264
  • Reputation: 18
  • Gender: Male
Re: Reassign keyboard shortcuts?
« Reply #1 on: January 18, 2017, 07:52 pm »
Hi,
it is not fixed wired into the code. You can change it in "overlay.xul" in your plugin-directory under \chrome\content\overlay.xul

In that file search for "keyset" then you should find two key-entries there.
There you can change the attribute keycode to seomthing else.

List of keycodes are listed here : https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Keyboard_Shortcuts

The modifiers attribute tells if you have to press additional buttons. See link above it is mentioned there what values can be set.

Save your changes and restart the browser, after that the new shortcut should work in theory.
Have to admit did not try it myself but i am quite sure it works that way :D

It is very technical so i hope you can work with my instructions given so far.

In case you do not know what to select you could tell here what key-binding you like and we tell you how to adjust the setting.

Offline Anjo

  • Newbie
  • *
  • Joined: May 2016
  • Posts: 3
  • Reputation: 0
Re: Reassign keyboard shortcuts?
« Reply #2 on: January 18, 2017, 09:40 pm »
That worked like a charm, thank you for your help.  :-)

Offline firewaran

  • Moderator
  • *****
  • Joined: Apr 2016
  • Posts: 264
  • Reputation: 18
  • Gender: Male
Re: Reassign keyboard shortcuts?
« Reply #3 on: January 19, 2017, 07:43 pm »
Glad to hear! Enjoy the new bindings :)
Your welcome.