 
 	onEnterKey: (cb) -> @on(Events.EnterKey, cb)
 	onBackSpaceKey: (cb) -> @on(Events.BackSpaceKey, cb)
+	onInputChange: (cb) -> @on(Events.InputValueChange, cb)


Events.EnterKey  = "EnterKey"
Events.BackSpaceKey  = "BackSpaceKey"

class exports.InputLayer extends Layer
	constructor: (options={}) ->


			# Exclude enter, space and caps lock
			unless e.which is 20 or e.which is 13 or @value is ""
				@emit("change:value", @value)
				@emit(Events.InputValueChange, @value)

			# If enter key is pressed
			if e.which is 13
