12960 |
bufp->code = KeyTranslate (kchr_ptr, new_keycode, |
bufp->code = KeyTranslate (kchr_ptr, new_keycode, |
12961 |
&some_state) & 0xff; |
&some_state) & 0xff; |
12962 |
} |
} |
|
#if USE_CARBON_EVENTS |
|
|
else if (er.modifiers & cmdKey && |
|
|
(NILP (Vmac_command_key_is_meta))) |
|
|
{ |
|
|
/* If this is a command key (and we are not overriding it), |
|
|
send back to the operating system */ |
|
|
SendEventToEventTarget (eventRef, GetEventDispatcherTarget ()); |
|
|
break; |
|
|
} |
|
|
#endif |
|
12963 |
else |
else |
12964 |
bufp->code = er.message & charCodeMask; |
bufp->code = er.message & charCodeMask; |
12965 |
bufp->kind = ASCII_KEYSTROKE_EVENT; |
bufp->kind = ASCII_KEYSTROKE_EVENT; |