rework detect control keys
Merge pull request #9 from 2gis/rework-detect-control-keys

rework detect control keys