Location:
coedef.h
Link against:
#define CTRL(x) (x-'a'+1)
Control key modifier.
Key codes get changed when a key is pressed together with Ctrl key modifier — the CTRL macro is used to shift the key character appropriately.
Note:
This is not an inline function since that can't be put as the case of a switch statement.