VirtualBox

Changeset 39964 in vbox for trunk/src/VBox/Devices/Input


Ignore:
Timestamp:
Feb 2, 2012 5:50:36 PM (13 years ago)
Author:
vboxsync
Message:

Let us try without the enum.

Location:
trunk/src/VBox/Devices/Input
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/DevPS2.cpp

    r39959 r39964  
    206206    int32_t translate;
    207207    int32_t scancode_set;   /* 1=XT, 2=AT, 3=PS/2 */
    208     xlat_state_t    xlat_state;
     208    int32_t xlat_state;
    209209    /* mouse state */
    210210    int32_t mouse_write_cmd;
  • trunk/src/VBox/Devices/Input/PS2Dev.h

    r39963 r39964  
    4949    XS_IDLE,    /**< Starting state. */
    5050    XS_BREAK,   /**< F0 break byte was received. */
    51     XS_HIBIT,   /**< Break code still active. */
    52     XS_32BIT_HACK = 0x7fffffff
     51    XS_HIBIT    /**< Break code still active. */
    5352} xlat_state_t;
    5453
    55 xlat_state_t XlateAT2PC(xlat_state_t state, uint8_t scanIn, uint8_t *pScanOut);
     54int32_t XlateAT2PC(int32_t state, uint8_t scanIn, uint8_t *pScanOut);
    5655
    5756#endif
  • trunk/src/VBox/Devices/Input/PS2K.cpp

    r39960 r39964  
    14371437 * @return xlat_state_t New state of the translator.
    14381438 */
    1439 xlat_state_t XlateAT2PC(xlat_state_t state, uint8_t scanIn, uint8_t *pScanOut)
     1439int32_t XlateAT2PC(int32_t state, uint8_t scanIn, uint8_t *pScanOut)
    14401440{
    14411441    uint8_t     scan_in;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette