memset(&record, 0, sizeof(record));
- record.type = (buttons & 0x4) != 0 ?
+ record.type = (buttons & 0x10) != 0 ?
GSEventTypeHeadsetButtonDown :
GSEventTypeHeadsetButtonUp;
memset(&record, 0, sizeof(record));
- record.type = (buttons & 0x4) != 0 ?
+ record.type = (buttons & 0x04) != 0 ?
GSEventTypeMenuButtonDown :
GSEventTypeMenuButtonUp;
memset(&record, 0, sizeof(record));
- record.type = (buttons & 0x2) != 0 ?
+ record.type = (buttons & 0x02) != 0 ?
GSEventTypeLockButtonDown :
GSEventTypeLockButtonUp;