1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 17:13:24 +01:00

Configurable keybinds implemented and example conf updated

This commit is contained in:
matt 2014-07-29 00:53:44 +01:00
parent 8960eb98f4
commit e891b1281b

View File

@ -332,7 +332,7 @@ int key_parse(const char** bind){
if(strncmp(*bind,"Ctrl+", 5)==0) return bind[0][5]-'A'+1; if(strncmp(*bind,"Ctrl+", 5)==0) return bind[0][5]-'A'+1;
} }
if(strncmp(*bind,"Tab",3)==0) return 9; if(strncmp(*bind,"Tab",3)==0) return 9;
if(strncmp(*bind,"PAGE",4==0)) { if(strncmp(*bind,"PAGE",4)==0) {
if(strlen(*bind) == 6) return 0523; if(strlen(*bind) == 6) return 0523;
return 0522; return 0522;
} }