Enjoy BYOND? Contribute today!
Pressing Ctrl or Shift Sometimes Stops Keys
Apr 19 2012, 2:06 pm
A library for handling keyboard input.
· Created Dec 2 2011
I'm not sure if it's a BYOND bug or a missing feature of the library, but when I'm moving around and hold shift or ctrl, sometimes I just stop moving.
Apr 19 2012, 3:08 pm
I don't think the library handles any keys in a special way, so that might be a BYOND bug or just some keyboard quirk. Does this happen in any of the sidescroller or pixel movement library demos? That'd be an easy way for me to test it.
Apr 19 2012, 3:18 pm (Edited on Apr 19 2012, 3:34 pm)
In response to
I'm having trouble finding a Pixel Movement demo in which this doesn't happen. Watching the debug statpanel, I see the directions I'm holding. When I press Shift, Ctrl, or Alt, one of the directions disappears.
However, the Pixel Movement Demo (the fancy one) doesn't have this problem.
Apr 20 2012, 4:31 am
That could be a BYOND bug then. The pixel movement lib macros all keys, the fancy demo doesn't. Maybe BYOND is pre-empting other keys with ctrl and alt because they're used as modifiers.
Copyright © 2013 BYOND. All rights reserved.
Terms of Service