add orientation config.cpp