Hi everybody !
I want to make several keymap though python that can call variation of a same operator.
Making one operator per keybinding is the only solution ? Or can I pass an argument to the operator as it is possible with opertor called with a UI button ?
kmi = km.keymap_items.new(myops.num_one, 'NUMPAD_1', 'PRESS', shift=True, alt=True)
I see no option there : https://docs.blender.org/api/2.64/bpy.types.KeyMapItems.html
so I think I’m doomed to 10 one liner operator for 10 keymaps but maybe there is a workaround someone may know ?
Thanks