That is odd. I'm not too familiar with this specific keyboard manager code, but I wonder if it somehow seeing the ++ and attempting to increment. That would surely provide unexpected results. IDK, just a thought.
~Philip On Fri, Sep 9, 2011 at 4:41 AM, davepilbeam <[email protected]>wrote: > > Hi, > in this Fiddle, if I include 'shift++' in the following events to be > added to my Keyboard, it also fires '+' any other time shift is > pressed (as in 'shift+1'); if I remove it, all fire correctly.. what > am I missing here? > > keys: { > 'esc': function(){ E.controlG('esc'); }, > 'shift+1': function(){ E.controlG('1'); }, > 'shift+-': function(){ E.controlG('-'); }, > 'shift++': function(){ E.controlG('+'); } > } > > http://jsfiddle.net/davepilbeam/64PFV/ > -- http://lonestarlightandsound.com/
