Navdeep Dhillon 排名: Jedi Master 帖子: 265 加入日期: 15-11-10 最近的帖子 | Hi Jodie,Currently there is not. However, we are adding the ability to detect keyboard input in our next version!
Out of curiosity, what are you hoping to build? Typically just moving objects isn't an entire interaction - it is usually accompanied with a need to detect the placement of the object in order to validate something. That is a separate, tricky, issue.
Moving objects with the keyboard (or detecting keyboard interaction in general) also opens itself up to a few complications. Mobile users don't have a keyboard (not one with arrows, at least), and there is the issue of focus - what if the user has clicked into a Text Input field, made a Radio Button selection, or clicked on the browser's address bar? I'm not entirely sure how those objects will interact with keyboard input - we'll have to do some more testing around that.
A drag and drop interaction without defined "drop zones" allows for free form dropping, and circumvents most of the issues above. Using a mouse (or a touch on mobile devices) clears up the ambiguity of what object you're interacting with (the focus).
Another approach is to use on-screen arrow buttons to move an object. This will work for mobile and non-mobile users, and allows some form of knowing where the moved object is (by keeping track of how far you have moved it).
Hope that helps! |