Skip to content

Commit

Permalink
Merge pull request #58 from BlackGoku36/patch-2
Browse files Browse the repository at this point in the history
fix keys for comma and period(fullstop)
  • Loading branch information
luboslenco committed Jan 4, 2019
2 parents 3cb4b9d + b95bb92 commit f3d3c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/iron/system/Input.hx
Expand Up @@ -324,7 +324,7 @@ class Pen extends VirtualInput {

class Keyboard extends VirtualInput {

static var keys = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '.', ',', 'space', 'backspace', 'tab', 'enter', 'shift', 'control', 'alt', 'escape', 'delete', 'back', 'up', 'right', 'left', 'down', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12'];
static var keys = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'period', 'comma', 'space', 'backspace', 'tab', 'enter', 'shift', 'control', 'alt', 'escape', 'delete', 'back', 'up', 'right', 'left', 'down', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12'];
var keysDown = new Map<String, Bool>();
var keysStarted = new Map<String, Bool>();
var keysReleased = new Map<String, Bool>();
Expand Down

0 comments on commit f3d3c3f

Please sign in to comment.