PDA

View Full Version : Maustasten support von TS2


Aaylana
13-12-2006, 21:58
4te und 5te maustaste gehen nicht

ja, ich habe gesehen das es schon so einen threat gibt
aber das soll keine frage "warum geht sie nicht" sein,
sondern mehr ein bug-report mit der bitte um ein hotfix!

bitte dass an die entwickler weiterleiten: (sodass sie dass zumindest in TS3 einplanen können)
if you use window procedures to catch the mouse-events:
the message parameter is WM_XBUTTONDOWN with
LOWORD(wParam)=32 for the 4th mouse button and
LOWORD(wParam)=64 for the 5th mouse button

if you use direct input (which i suppose you to do)
here are some constants
DIMOFS_BUTTON0 = 12
DIMOFS_BUTTON1 = 13
DIMOFS_BUTTON2 = 14
DIMOFS_BUTTON3 = 15
DIMOFS_BUTTON4 = 16
DIMOFS_BUTTON5 = 17
DIMOFS_BUTTON6 = 18
DIMOFS_BUTTON7 = 19
DIMOUSE_BUTTON0 = 0x82000400 | DIMOFS_BUTTON0 /* Button 0 */
DIMOUSE_BUTTON1 = 0x82000400 | DIMOFS_BUTTON1 /* Button 1 */
DIMOUSE_BUTTON2 = 0x82000400 | DIMOFS_BUTTON2 /* Button 2 */
DIMOUSE_BUTTON3 = 0x82000400 | DIMOFS_BUTTON3 /* Button 3 */
DIMOUSE_BUTTON4 = 0x82000400 | DIMOFS_BUTTON4 /* Button 4 */
DIMOUSE_BUTTON5 = 0x82000400 | DIMOFS_BUTTON5 /* Button 5 */
DIMOUSE_BUTTON6 = 0x82000400 | DIMOFS_BUTTON6 /* Button 6 */
DIMOUSE_BUTTON7 = 0x82000400 | DIMOFS_BUTTON7 /* Button 7 */
i found them on google so i dont know if they are 100% correct, but you may compare them with yours