-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathmac_specific.py
More file actions
62 lines (45 loc) · 1.94 KB
/
mac_specific.py
File metadata and controls
62 lines (45 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# mac_specific.py
# The Raskin Center for Humane Interfaces (RCHI) 2004
# This work is licensed under the Creative Commons
# Attribution-NonCommercial-ShareAlike License. To view
# a copy of this license, visit
# http://creativecommons.org/licenses/by-nc-sa/2.0/
# or send a letter to :
# Creative Commons
# 559 Nathan Abbott Way
# Stanford, California 94305,
# USA.
# --- --- ---
VERSION = "$Id: mac_specific.hpy,v 1.11 2005/04/01 22:22:32 varmaa Exp $"
# This module is the Macintosh (OS X) implementation of the
# [os]_specific modules.
# --------------------------
# Clipboard
# --------------------------
# Currently, we're inheriting the wxPython clipboard routines from
# generic_os, but feel free to add an implementation here that doesn't
# require wxWindows (if one exists).
# --------------------------
# Key bindings
# --------------------------
# We need to guarantee that keybindings are set appropriately.
# We here establish some accessible constants that key.py will
# call when establishing keybindings.
Start_LEAP_Forward_Keybinding = 'left shift\\ space\\'
End_LEAP_Forward_Keybinding = 'left shift/'
LEAP_Forward_Select_Keybinding = 'right shift\\'
Start_LEAP_Backward_Keybinding = 'left shift\\ return\\'
End_LEAP_Backward_Keybinding = 'left shift/'
LEAP_Backward_Select_Keybinding = 'right shift\\'
Start_Command_Keybinding = 'left meta\\'
End_Command_Keybinding = 'left meta/'
#Start_Command_Keybinding = 'caps lock\\'
#End_Command_Keybinding = 'caps lock/'
Delete_Keybinding = 'backspace\\'
Creep_Left_Keybinding = 'left\\'
Creep_Right_Keybinding = 'right\\'
# --------------------------
# Fonts
# --------------------------
Default_Font = {'size' : 16, 'font' : 'sans'}
Quasimode_Font = {'size' : 30, 'font' : 'sans', 'outline': 1}