keylayout: update for 3.0+