Update TODO

This commit is contained in:
Martin Lund 2022-07-14 11:13:22 +02:00
parent 98db32b251
commit 00ae3b2fbd
2 changed files with 10 additions and 2 deletions

View file

@ -120,3 +120,13 @@ long string_to_long(char *string)
return result;
}
int ctrl_key_code(unsigned char key)
{
if ((key >= 'a') && (key <= 'z'))
{
return key & ~0x60;
}
return -1;
}