Toggle Debug Mode
#1
Hello,

In the August Milestones I seen an option to toggle debug mode with the keyboard. 1226 (PR) I was wondering how to implement this feature. Thank you for your assistance.

Michael
Reply
#2
Start here: HOW-TO:Modify keyboard.xml (wiki)
Reply
#3
(2012-09-26, 15:13)scudlee Wrote: Start here: HOW-TO:Modify keyboard.xml (wiki)

I am not sure what to add in the keyboard.xml for that specific feature. Do I just add toggledebug? I seen no reference to it anywhere except the milestone.
Reply
#4
(2012-09-26, 18:35)m1975Michael Wrote: I am not sure what to add in the keyboard.xml for that specific feature. Do I just add toggledebug? I seen no reference to it anywhere except the milestone.
Yep, just like in the example on the Pull Request page:
Code:
<keymap>
  <global>
    <keyboard>
      <l>toggledebug</l>
    </keyboard>
  </global>
</keymap>
will assign toggledebug to the "l" key. For more complex key combinations, check the wiki page.
Reply
#5
(2012-09-26, 19:57)scudlee Wrote:
(2012-09-26, 18:35)m1975Michael Wrote: I am not sure what to add in the keyboard.xml for that specific feature. Do I just add toggledebug? I seen no reference to it anywhere except the milestone.
Yep, just like in the example on the Pull Request page:
Code:
<keymap>
  <global>
    <keyboard>
      <l>toggledebug</l>
    </keyboard>
  </global>
</keymap>
will assign toggledebug to the "l" key. For more complex key combinations, check the wiki page.

Thank you for your assistance.

Reply

Logout Mark Read Team Forum Stats Members Help
Toggle Debug Mode0