Support more keys on OSX "[]\". Thanks @neoascetic for patch (#313).
Link: https://sourceforge.net/p/irrlicht/patches/313/ git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5375 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
0fdfc73cb1
commit
7c7ddbb06a
|
@ -1,6 +1,7 @@
|
|||
--------------------------
|
||||
Changes in 1.9 (not yet released)
|
||||
|
||||
- Support more keys on OSX "[]\". Thanks @neoascetic for patch (#313).
|
||||
- Fix IBillboardTextSceneNode::setTextColor which did nothing in the past. It now maps to setColor instead.
|
||||
- Add access functions to IBillboardTextSceneNode (getText, getFont).
|
||||
- Add access functions to ITextSceneNode (getText, getTextColor, setFont, getFont).
|
||||
|
|
|
@ -1393,6 +1393,10 @@ void CIrrDeviceMacOSX::initKeycodes()
|
|||
KeyCodes[kVK_ANSI_KeypadDivide] = irr::KEY_DIVIDE;
|
||||
KeyCodes[kVK_ANSI_KeypadEnter] = irr::KEY_RETURN;
|
||||
KeyCodes[kVK_ANSI_KeypadMinus] = irr::KEY_SUBTRACT;
|
||||
|
||||
KeyCodes[kVK_ANSI_LeftBracket] = irr::KEY_OEM_4;
|
||||
KeyCodes[kVK_ANSI_Backslash] = irr::KEY_OEM_5;
|
||||
KeyCodes[kVK_ANSI_RightBracket] = irr::KEY_OEM_6;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue