Skip to content

Commit

Permalink
Merge pull request cocos2d#3224 from azmeuk/emscripten
Browse files Browse the repository at this point in the history
emscripten keyboard support
  • Loading branch information
James Chen committed Jul 30, 2013
2 parents c4e15da + eaa60df commit ccf3584
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ Developers:
Creation of CCDeprecated-ext.h
Use of a single emscripten HTML template file.
Added some guards in fileutils. Fixed a bug in emscripten file utils.
Added emscripten keyboard support

elmiro
Correction of passed buffer size to readlink and verification of result return by readlink.
Expand Down
1 change: 1 addition & 0 deletions cocos2dx/proj.emscripten/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ SOURCES = ../actions/CCAction.cpp \
../effects/CCGrid.cpp \
../keypad_dispatcher/CCKeypadDelegate.cpp \
../keypad_dispatcher/CCKeypadDispatcher.cpp \
../keyboard_dispatcher/CCKeyboardDispatcher.cpp \
../label_nodes/CCLabelAtlas.cpp \
../label_nodes/CCLabelBMFont.cpp \
../label_nodes/CCLabelTTF.cpp \
Expand Down
2 changes: 1 addition & 1 deletion cocos2dx/proj.emscripten/cocos2dx.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all:

DEFINES += -DEMSCRIPTEN
DEFINES += -DEMSCRIPTEN -DCC_KEYBOARD_SUPPORT

THIS_MAKEFILE := $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
ifndef COCOS_ROOT
Expand Down

0 comments on commit ccf3584

Please sign in to comment.