Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2009, 11:16:34 PM (15 years ago)
Author:
rgrieder
Message:

Updated OIS library (still 1.2, but CVS version).
There have been some little fixes and support for force feedback on Linux (but this doesn't concern us for now…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/src/ois/win32/Win32KeyBoard.cpp

    r1505 r5668  
    238238                return 0;
    239239
    240         unsigned char buff[3] = {0,0,0};
    241         int ascii = ToAsciiEx(vk, kc, keyState, (LPWORD) buff, 0, layout);
    242         //WCHAR wide[3];
    243         //int ascii = ToUnicodeEx(vk, kc, keyState, wide, 3, 0, layout);
     240        WCHAR buff[3] = {0};
     241        int ascii = ToUnicodeEx(vk, kc, keyState, buff, 3, 0, layout);
     242
    244243        if(ascii == 1 && deadKey != '\0' )
    245244        {
Note: See TracChangeset for help on using the changeset viewer.