Ignore:
Timestamp:
Aug 20, 2006, 8:11:44 AM (19 years ago)
Author:
bird
Message:

Expanded m_client to 64-bit. Finally managed to hack together a getKeyMap and fakeKey for PM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/synergy/lib/platform/COSXKeyState.cpp

    r2749 r2768  
    22 * synergy -- mouse and keyboard sharing utility
    33 * Copyright (C) 2004 Chris Schoeneman
    4  * 
     4 *
    55 * This package is free software; you can redistribute it and/or
    66 * modify it under the terms of the GNU General Public License
    77 * found in the file COPYING that should have accompanied this file.
    8  * 
     8 *
    99 * This package is distributed in the hope that it will be useful,
    1010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     
    145145}
    146146
    147 KeyButton 
     147KeyButton
    148148COSXKeyState::mapKeyFromEvent(CKeyIDs& ids,
    149149                                KeyModifierMask* maskOut, EventRef event) const
     
    366366        switch (keystroke.m_type) {
    367367        case Keystroke::kButton:
    368                 LOG((CLOG_DEBUG1 "  %03x (%08x) %s", keystroke.m_data.m_button.m_button, keystroke.m_data.m_button.m_client, keystroke.m_data.m_button.m_press ? "down" : "up"));
     368                LOG((CLOG_DEBUG1 "  %03x (%08x) %s", keystroke.m_data.m_button.m_button, (UInt32)keystroke.m_data.m_button.m_client, keystroke.m_data.m_button.m_press ? "down" : "up"));
    369369
    370370                // let system figure out character for us
     
    552552        }
    553553        macVirtualKey = mapKeyButtonToVirtualKey(button);
    554        
     554
    555555        // calculate modifier mask
    556556        macModifierMask = 0;
     
    570570                macModifierMask |= alphaLock;
    571571        }
    572        
     572
    573573        return true;
    574574}
    575                                                
     575
    576576void
    577577COSXKeyState::handleModifierKeys(void* target,
Note: See TracChangeset for help on using the changeset viewer.