Add two new APIs for currently active keyboard layout