cocos2d/cocos2d-x — pull request #8168 by hongliang-goudou (2014-09-26 03:54:09+00:00)
Title: export lua function "cc.Device::getDPI()"

export lua function cc.Device:getDPI()

For those developers who need to get the current device DPI in Lua environment. and also `setAccelerometerInterval()` and `setAccelerometerEnabled()` functions in the CCDevice.cpp class.