repo.or.cz
/
python.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make importlib backwards-compatible to Python 2.2 (but this is not promised to
[python.git]
/
Lib
/
plat-irix5
/
DEVICE.py
blob
14fd5347b9689c2d54eae64ae0cd78e7153b6127
1
from
warnings
import
warnpy3k
2
warnpy3k
(
"the DEVICE module has been removed in Python 3.0"
,
stacklevel
=
2
)
3
del
warnpy3k
4
5
NULLDEV
=
0
6
BUTOFFSET
=
1
7
VALOFFSET
=
256
8
PSEUDOFFSET
=
512
9
BUT2OFFSET
=
3840
10
TIMOFFSET
=
515
11
XKBDOFFSET
=
143
12
BUTCOUNT
=
255
13
VALCOUNT
=
256
14
TIMCOUNT
=
4
15
XKBDCOUNT
=
28
16
USERBUTOFFSET
=
4096
17
USERVALOFFSET
=
12288
18
USERPSEUDOFFSET
=
16384
19
BUT0
=
1
20
BUT1
=
2
21
BUT2
=
3
22
BUT3
=
4
23
BUT4
=
5
24
BUT5
=
6
25
BUT6
=
7
26
BUT7
=
8
27
BUT8
=
9
28
BUT9
=
10
29
BUT10
=
11
30
BUT11
=
12
31
BUT12
=
13
32
BUT13
=
14
33
BUT14
=
15
34
BUT15
=
16
35
BUT16
=
17
36
BUT17
=
18
37
BUT18
=
19
38
BUT19
=
20
39
BUT20
=
21
40
BUT21
=
22
41
BUT22
=
23
42
BUT23
=
24
43
BUT24
=
25
44
BUT25
=
26
45
BUT26
=
27
46
BUT27
=
28
47
BUT28
=
29
48
BUT29
=
30
49
BUT30
=
31
50
BUT31
=
32
51
BUT32
=
33
52
BUT33
=
34
53
BUT34
=
35
54
BUT35
=
36
55
BUT36
=
37
56
BUT37
=
38
57
BUT38
=
39
58
BUT39
=
40
59
BUT40
=
41
60
BUT41
=
42
61
BUT42
=
43
62
BUT43
=
44
63
BUT44
=
45
64
BUT45
=
46
65
BUT46
=
47
66
BUT47
=
48
67
BUT48
=
49
68
BUT49
=
50
69
BUT50
=
51
70
BUT51
=
52
71
BUT52
=
53
72
BUT53
=
54
73
BUT54
=
55
74
BUT55
=
56
75
BUT56
=
57
76
BUT57
=
58
77
BUT58
=
59
78
BUT59
=
60
79
BUT60
=
61
80
BUT61
=
62
81
BUT62
=
63
82
BUT63
=
64
83
BUT64
=
65
84
BUT65
=
66
85
BUT66
=
67
86
BUT67
=
68
87
BUT68
=
69
88
BUT69
=
70
89
BUT70
=
71
90
BUT71
=
72
91
BUT72
=
73
92
BUT73
=
74
93
BUT74
=
75
94
BUT75
=
76
95
BUT76
=
77
96
BUT77
=
78
97
BUT78
=
79
98
BUT79
=
80
99
BUT80
=
81
100
BUT81
=
82
101
BUT82
=
83
102
MAXKBDBUT
=
83
103
BUT100
=
101
104
BUT101
=
102
105
BUT102
=
103
106
BUT103
=
104
107
BUT104
=
105
108
BUT105
=
106
109
BUT106
=
107
110
BUT107
=
108
111
BUT108
=
109
112
BUT109
=
110
113
BUT110
=
111
114
BUT111
=
112
115
BUT112
=
113
116
BUT113
=
114
117
BUT114
=
115
118
BUT115
=
116
119
BUT116
=
117
120
BUT117
=
118
121
BUT118
=
119
122
BUT119
=
120
123
BUT120
=
121
124
BUT121
=
122
125
BUT122
=
123
126
BUT123
=
124
127
BUT124
=
125
128
BUT125
=
126
129
BUT126
=
127
130
BUT127
=
128
131
BUT128
=
129
132
BUT129
=
130
133
BUT130
=
131
134
BUT131
=
132
135
BUT132
=
133
136
BUT133
=
134
137
BUT134
=
135
138
BUT135
=
136
139
BUT136
=
137
140
BUT137
=
138
141
BUT138
=
139
142
BUT139
=
140
143
BUT140
=
141
144
BUT141
=
142
145
BUT142
=
143
146
BUT143
=
144
147
BUT144
=
145
148
BUT145
=
146
149
BUT146
=
147
150
BUT147
=
148
151
BUT148
=
149
152
BUT149
=
150
153
BUT150
=
151
154
BUT151
=
152
155
BUT152
=
153
156
BUT153
=
154
157
BUT154
=
155
158
BUT155
=
156
159
BUT156
=
157
160
BUT157
=
158
161
BUT158
=
159
162
BUT159
=
160
163
BUT160
=
161
164
BUT161
=
162
165
BUT162
=
163
166
BUT163
=
164
167
BUT164
=
165
168
BUT165
=
166
169
BUT166
=
167
170
BUT167
=
168
171
BUT168
=
169
172
BUT181
=
182
173
BUT182
=
183
174
BUT183
=
184
175
BUT184
=
185
176
BUT185
=
186
177
BUT186
=
187
178
BUT187
=
188
179
BUT188
=
189
180
BUT189
=
190
181
MOUSE1
=
101
182
MOUSE2
=
102
183
MOUSE3
=
103
184
LEFTMOUSE
=
103
185
MIDDLEMOUSE
=
102
186
RIGHTMOUSE
=
101
187
LPENBUT
=
104
188
BPAD0
=
105
189
BPAD1
=
106
190
BPAD2
=
107
191
BPAD3
=
108
192
LPENVALID
=
109
193
SWBASE
=
111
194
SW0
=
111
195
SW1
=
112
196
SW2
=
113
197
SW3
=
114
198
SW4
=
115
199
SW5
=
116
200
SW6
=
117
201
SW7
=
118
202
SW8
=
119
203
SW9
=
120
204
SW10
=
121
205
SW11
=
122
206
SW12
=
123
207
SW13
=
124
208
SW14
=
125
209
SW15
=
126
210
SW16
=
127
211
SW17
=
128
212
SW18
=
129
213
SW19
=
130
214
SW20
=
131
215
SW21
=
132
216
SW22
=
133
217
SW23
=
134
218
SW24
=
135
219
SW25
=
136
220
SW26
=
137
221
SW27
=
138
222
SW28
=
139
223
SW29
=
140
224
SW30
=
141
225
SW31
=
142
226
SBBASE
=
182
227
SBPICK
=
182
228
SBBUT1
=
183
229
SBBUT2
=
184
230
SBBUT3
=
185
231
SBBUT4
=
186
232
SBBUT5
=
187
233
SBBUT6
=
188
234
SBBUT7
=
189
235
SBBUT8
=
190
236
AKEY
=
11
237
BKEY
=
36
238
CKEY
=
28
239
DKEY
=
18
240
EKEY
=
17
241
FKEY
=
19
242
GKEY
=
26
243
HKEY
=
27
244
IKEY
=
40
245
JKEY
=
34
246
KKEY
=
35
247
LKEY
=
42
248
MKEY
=
44
249
NKEY
=
37
250
OKEY
=
41
251
PKEY
=
48
252
QKEY
=
10
253
RKEY
=
24
254
SKEY
=
12
255
TKEY
=
25
256
UKEY
=
33
257
VKEY
=
29
258
WKEY
=
16
259
XKEY
=
21
260
YKEY
=
32
261
ZKEY
=
20
262
ZEROKEY
=
46
263
ONEKEY
=
8
264
TWOKEY
=
14
265
THREEKEY
=
15
266
FOURKEY
=
22
267
FIVEKEY
=
23
268
SIXKEY
=
30
269
SEVENKEY
=
31
270
EIGHTKEY
=
38
271
NINEKEY
=
39
272
BREAKKEY
=
1
273
SETUPKEY
=
2
274
CTRLKEY
=
3
275
LEFTCTRLKEY
=
CTRLKEY
276
CAPSLOCKKEY
=
4
277
RIGHTSHIFTKEY
=
5
278
LEFTSHIFTKEY
=
6
279
NOSCRLKEY
=
13
280
ESCKEY
=
7
281
TABKEY
=
9
282
RETKEY
=
51
283
SPACEKEY
=
83
284
LINEFEEDKEY
=
60
285
BACKSPACEKEY
=
61
286
DELKEY
=
62
287
SEMICOLONKEY
=
43
288
PERIODKEY
=
52
289
COMMAKEY
=
45
290
QUOTEKEY
=
50
291
ACCENTGRAVEKEY
=
55
292
MINUSKEY
=
47
293
VIRGULEKEY
=
53
294
BACKSLASHKEY
=
57
295
EQUALKEY
=
54
296
LEFTBRACKETKEY
=
49
297
RIGHTBRACKETKEY
=
56
298
LEFTARROWKEY
=
73
299
DOWNARROWKEY
=
74
300
RIGHTARROWKEY
=
80
301
UPARROWKEY
=
81
302
PAD0
=
59
303
PAD1
=
58
304
PAD2
=
64
305
PAD3
=
65
306
PAD4
=
63
307
PAD5
=
69
308
PAD6
=
70
309
PAD7
=
67
310
PAD8
=
68
311
PAD9
=
75
312
PADPF1
=
72
313
PADPF2
=
71
314
PADPF3
=
79
315
PADPF4
=
78
316
PADPERIOD
=
66
317
PADMINUS
=
76
318
PADCOMMA
=
77
319
PADENTER
=
82
320
LEFTALTKEY
=
143
321
RIGHTALTKEY
=
144
322
RIGHTCTRLKEY
=
145
323
F1KEY
=
146
324
F2KEY
=
147
325
F3KEY
=
148
326
F4KEY
=
149
327
F5KEY
=
150
328
F6KEY
=
151
329
F7KEY
=
152
330
F8KEY
=
153
331
F9KEY
=
154
332
F10KEY
=
155
333
F11KEY
=
156
334
F12KEY
=
157
335
PRINTSCREENKEY
=
158
336
SCROLLLOCKKEY
=
159
337
PAUSEKEY
=
160
338
INSERTKEY
=
161
339
HOMEKEY
=
162
340
PAGEUPKEY
=
163
341
ENDKEY
=
164
342
PAGEDOWNKEY
=
165
343
NUMLOCKKEY
=
166
344
PADVIRGULEKEY
=
167
345
PADASTERKEY
=
168
346
PADPLUSKEY
=
169
347
SGIRESERVED
=
256
348
DIAL0
=
257
349
DIAL1
=
258
350
DIAL2
=
259
351
DIAL3
=
260
352
DIAL4
=
261
353
DIAL5
=
262
354
DIAL6
=
263
355
DIAL7
=
264
356
DIAL8
=
265
357
MOUSEX
=
266
358
MOUSEY
=
267
359
LPENX
=
268
360
LPENY
=
269
361
BPADX
=
270
362
BPADY
=
271
363
CURSORX
=
272
364
CURSORY
=
273
365
GHOSTX
=
274
366
GHOSTY
=
275
367
SBTX
=
276
368
SBTY
=
277
369
SBTZ
=
278
370
SBRX
=
279
371
SBRY
=
280
372
SBRZ
=
281
373
SBPERIOD
=
282
374
TIMER0
=
515
375
TIMER1
=
516
376
TIMER2
=
517
377
TIMER3
=
518
378
KEYBD
=
513
379
RAWKEYBD
=
514
380
VALMARK
=
523
381
REDRAW
=
528
382
INPUTCHANGE
=
534
383
QFULL
=
535
384
QREADERROR
=
538
385
WINFREEZE
=
539
386
WINTHAW
=
540
387
REDRAWICONIC
=
541
388
WINQUIT
=
542
389
DEPTHCHANGE
=
543
390
WINSHUT
=
546
391
DRAWOVERLAY
=
547
392
VIDEO
=
548
393
MENUBUTTON
=
RIGHTMOUSE
394
WINCLOSE
=
537
395
KEYBDFNAMES
=
544
396
KEYBDFSTRINGS
=
545
397
MAXSGIDEVICE
=
20000
398
GERROR
=
524
399
WMSEND
=
529
400
WMREPLY
=
530
401
WMGFCLOSE
=
531
402
WMTXCLOSE
=
532
403
MODECHANGE
=
533
404
PIECECHANGE
=
536