hedgewars/uKeys.pas
changeset 2630 079ef82eac75
parent 2613 e873f4bfed09
child 2671 7e0f88013fe8
equal deleted inserted replaced
2629:be70fd3458c0 2630:079ef82eac75
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  *)
    17  *)
    18 
    18 
       
    19 {$INCLUDE "options.inc"}
       
    20 
    19 unit uKeys;
    21 unit uKeys;
    20 interface
    22 interface
    21 uses uConsts, SDLh;
    23 uses uConsts, SDLh;
    22 {$INCLUDE "options.inc"}
       
    23 
    24 
    24 type TBinds = array[0..cKeyMaxIndex] of shortstring;
    25 type TBinds = array[0..cKeyMaxIndex] of shortstring;
    25 type TKeyboardState = array[0..cKeyMaxIndex] of Byte;
    26 type TKeyboardState = array[0..cKeyMaxIndex] of Byte;
    26 
    27 
    27 function  KeyNameToCode(name: string): word;
    28 function  KeyNameToCode(name: string): word;