2017-08-13, 07:04
On my keyboard (IpazzPort) there is a double right arrow key on the right side of the ring which contains the volume up/down buttons. Pressing this double right arrow button doesn't seem to do anything so I decided I want to use it to enable the "Fast Forward" function (which is assigned to the "F" key by default).
So I ran the keymap editor addon and went to the global section, playback, and then fast forward, and then selected the key I wanted, and saved.
This produces a new file called gen.xml with the following contents:
However then when I play a video, pressing this button still has no effect.
In an attempt to figure out the problem, I instead assigned the fast forward function to the keyboard key "G".
This worked as expected. Pressing the G key would cause the forward speed to increase (x2, x4, x8, ... ect).
Then I repeated this experiment, except instead of using the G key I used the M key. But this did not work!
Pressing the M key would perform the "Menu" function, presumably because it was defined this way inside keyboard.xml
So it appears that the information in keyboard.xml has priority over gen.xml which seriously seems backwards (grossly limiting the usefulness of the keyboard mapping addon). Is there any way I can make the information inside gen.xml have priority over keyboard.xml?
If not, perhaps I can still make this key assignment work by deleting the key assignment of this key in keyboard.xml.
I would do this, except for the fact that I don't know where this key is defined in that file. There is no string that includes the 16839168 key ID and since pressing the key doesn't perform any recognizable function I have no way to know where it is defined inside keyboard.xml.
Thanks for any ideas you may have to that will allow me to make this keyboard assignment.
~Paul
So I ran the keymap editor addon and went to the global section, playback, and then fast forward, and then selected the key I wanted, and saved.
This produces a new file called gen.xml with the following contents:
Code:
<keymap><global><keyboard><key id="16839168">fastforward</key></keyboard></global></keymap>
However then when I play a video, pressing this button still has no effect.
In an attempt to figure out the problem, I instead assigned the fast forward function to the keyboard key "G".
This worked as expected. Pressing the G key would cause the forward speed to increase (x2, x4, x8, ... ect).
Then I repeated this experiment, except instead of using the G key I used the M key. But this did not work!
Pressing the M key would perform the "Menu" function, presumably because it was defined this way inside keyboard.xml
So it appears that the information in keyboard.xml has priority over gen.xml which seriously seems backwards (grossly limiting the usefulness of the keyboard mapping addon). Is there any way I can make the information inside gen.xml have priority over keyboard.xml?
If not, perhaps I can still make this key assignment work by deleting the key assignment of this key in keyboard.xml.
I would do this, except for the fact that I don't know where this key is defined in that file. There is no string that includes the 16839168 key ID and since pressing the key doesn't perform any recognizable function I have no way to know where it is defined inside keyboard.xml.
Thanks for any ideas you may have to that will allow me to make this keyboard assignment.
~Paul