Defining keyboard shortcuts for OS X?

Hi all,

how do you define the option and apple keys under os x for use in ardour - what text needs to be input into the ardour.rc file?

  1. start up a terminal (from Applications/Utilities)
  2. cd to /usr/X11R6/bin
  3. run ./xev
  4. report back here on the info displayed when you press the option and apple keys

Hi,

for the Apple key I get

KeyPress event, serial 24, synthetic NO, window 0x800001, root 0x57, subw 0x8000002,time 5307440, (44,30), root:(44,74), state 0x0, keycode 63 (keysym 0xff7e, Meta_L), same_screen YES,
XLookupString gives 0 byes:
XmblookupString gives 0 bytes:
XFilterEvent returns: Falst

KeyRelease event, serial 24, synthetic NO, window 0x800001, root 0x57, subw 0x8000002,time 5307479, (44,30), root:(44,74), state 0x10, keycode 63 (keysym 0xff7e, Meta_L), same_screen YES,
XLookupString gives 0 byes:

for the option key I get

KeyPress event, serial 24, synthetic NO, window 0x800001, root 0x57, subw 0x8000002,time 5534157, (13,-10), root:(13,34), state 0x0, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 byes:
XmblookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, , serial 24, synthetic NO, window 0x800001, root 0x57, subw 0x8000002,time 5534430, (13,-10), root:(13,34), state 0x0, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 byes:

ctrl

KeyPress event, serial 22, synthetic NO, window 0x800001,
root 0x57, subw 0x0, time 5740519, (18,-7), root:(18,37),
state 0x0, keycode 67 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0x800001,
root 0x57, subw 0x0, time 5740617, (18,-7), root:(18,37),
state 0x4, keycode 67 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:

left shift (not working at present)

KeyPress event, serial 24, synthetic NO, window 0x800001,
root 0x57, subw 0x0, time 5795347, (15,-12), root:(15,32),
state 0x0, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0x800001,
root 0x57, subw 0x0, time 5795483, (15,-12), root:(15,32),
state 0x1, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:

right shift (not working at present):

KeyPress event, serial 24, synthetic NO, window 0x800001,
root 0x57, subw 0x0, time 5798021, (15,-12), root:(15,32),
state 0x0, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 24, synthetic NO, window 0x800001,
root 0x57, subw 0x0, time 5798129, (15,-12), root:(15,32),
state 0x1, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
XLookupString gives 0 bytes:

Many thanks.