0

cannot bind to control--meta--push click?

Hi guys,

I am attempting to work with an existing tool that uses meta + click for functionality, by adding an additional modifier to it.

However, I cannot get any response from the global binding, with variations of modifiers, or find any confirmation from Rv that the binding is set.

For example :

 

bindings = [

        (

              u'pointer-1--control--meta--push',

              self.test,

              u'Pointer 1: Test trigger',

       ),

This works; (one modifier)

              u'pointer-1--meta--push',

 

but I cannot get an additional modifier going. I have tried the following variations on pointers (which was already in the code)

 

              u'pointer-3--control--meta--push',

              u'stylus-pen--control--meta--push',

              u'stylus-pen-1--control--meta--push',

              u'stylus-pen-3--control--meta--push',

 

I have also tried variations on the modifiers :

              u'pointer-1--control--meta--push',

              u'pointer-1--meta--control--push',

              u'pointer-1--alt--meta--push',

              u'pointer-1--meta--alt--push',

 

Any suggestions would be welcome.

cheers,

Jordan

1 条评论

  • 0
    Avatar
    Jon Morley

    Hi Jordan,

    Can you please tell me which version of RV you are using and on which platform?

    I think the issue is that those events should not have the extra dash between the modifiers. They should look like "pointer-1--meta-control--push". Sorry it isn't very clear, but the form is "<actor>--<modifiers>--<action>" for pointers where the modifiers are separated by a single "-". Please let me know if that helps.

    Thanks,
    Jon

请先登录再写评论。