-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardware keyboard support (Windows support + Mac fix) #3054
Conversation
Could you pull the latest codes? |
…indows_keyboard_support
sure, done :) |
@@ -449,6 +452,9 @@ LRESULT EGLView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) | |||
} | |||
break; | |||
case WM_KEYDOWN: | |||
#ifdef KEYBOARD_SUPPORT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have renamed KEYBOARD_SUPPORT
to CC_ KEYBOARD_SUPPORT
.
Do you mind to change it to CC_ KEYBOARD_SUPPORT
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no problem, I will change that :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
also please consider merge of #2776 |
Hardware keyboard support (Windows support + Mac fix)
okay guys, I'm really a big noob, so sorry, but how do i use only the cross-platform keyboard feature, without using the develop brach? like, can i just add the keyboard part to cocos2d-x 2.1.4? |
…port Hardware keyboard support (Windows support + Mac fix)
…port Hardware keyboard support (Windows support + Mac fix)
…port Hardware keyboard support (Windows support + Mac fix)
…port Hardware keyboard support (Windows support + Mac fix)
Added Windows support for HW keyboard (as addition to #2704) and also included fix for Mac.