Ignore:
Timestamp:
Apr 8, 2013, 3:54:07 AM (10 years ago)
Author:
sam
Message:

input: make keyboard state platform-independent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/input/input.h

    r2617 r2645  
    414414    static uint32_t GetMouseButtons();
    415415
    416     //BH : Shouldn't use this
    417     static int GetButtonState(int button);
    418 
    419416    /* Action management */
    420417    static void LinkActionToKey(Action a, struct Key k);
     
    441438
    442439    /* Keyboard handling */
     440    static Array<uint8_t> &GetKeyboardState();
     441    static int GetKeyState(int key);
     442
    443443    static Keyboard *CreateKeyboard();
    444444    static void DestroyKeyboard(Keyboard *keyboard);
Note: See TracChangeset for help on using the changeset viewer.