File: brltty.conf

package info (click to toggle)
brltty 6.9-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 44,844 kB
  • sloc: ansic: 154,246; java: 13,514; sh: 9,934; xml: 5,672; tcl: 2,679; makefile: 2,346; awk: 713; lisp: 366; python: 321; ml: 301
file content (779 lines) | stat: -rw-r--r-- 31,362 bytes parent folder | download | duplicates (2)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
# Documents/brltty.conf.  Generated from brltty.conf.in by configure.
###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
#          text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2025 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser General Public License, as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option) any
# later version. Please see the file LICENSE-LGPL for details.
#
# Web Page: http://BRLTTY.app/
#
# This software is maintained by Dave Mielke <dave@mielke.cc>.
###############################################################################

# This is a configuration file template for the BRLTTY application. 
# Uncomment those entries which apply to your personal needs and system
# requirements.

# BRLTTY expects to find its configuration file in "/etc/brltty.conf"
# (can be overridden with the --configuration-file= [-f] option).
# If it doesn't exist, then BRLTTY silently continues but may require
# that certain command line options be explicitly supplied.

# Blank lines are ignored. The character '#', anywhere on a line,
# initiates a comment; all characters from it to the end of that line
# are ignored.

# Each configuration entry consists of a keyword followed by its operand.
# An arbitrary amount of white space, (blanks and/or tabs), may occur
# before the keyword, as well as before and after the operand. Keyword
# processing isn't case sensitive. Examples of valid entries are:
#
#	Braille-Driver	pm	# Papenmeier braille displays.
#	braille-device	serial:ttyS0	# The first serial device.
#	SPEECH-DRIVER	fv	# The Festival Text to Speech System.

# The default settings given within the following descriptions assume no
# special build options (see "./configure --help" in the top-level
# directory of the source tree.


####################
# Braille Settings #
####################

# The braille-driver directive specifies the two-letter driver
# identification code of the driver for the braille display.
# If not specified, autodetection will be performed.
# If more than one driver, separated by commas, is specified,
# then autodetection will be performed amongst them.
# (can be overridden with the --braille-driver= [-b] option)
#braille-driver	auto	# autodetect
#braille-driver	al	# Alva
#braille-driver	at	# Albatross
#braille-driver	ba	# BrlAPI
#braille-driver	bc	# BrailComm
#braille-driver	bd	# Braudi
#braille-driver	bl	# BrailleLite
#braille-driver	bm	# Baum;; Refreshabraille, Orbit, NLS eReader Zoomax, NBP B2G
#braille-driver	bn	# BrailleNote
#braille-driver	cb	# CombiBraille
#braille-driver	ce	# Cebra
#braille-driver	cn	# Canute
#braille-driver	dp	# DotPad
#braille-driver	ec	# EcoBraille
#braille-driver	eu	# EuroBraille
#braille-driver	fa	# FrankAudiodata
#braille-driver	fs	# FreedomScientific; VFO, Vispero
#braille-driver	hd	# Hedo
#braille-driver	hm	# HIMS
#braille-driver	ht	# HandyTech; HelpTech
#braille-driver	hw	# HumanWare;; APH Chameleon, APH Mantis, NLS eReader
#braille-driver	ic	# Inceptor; Innovision
#braille-driver	ir	# Iris
#braille-driver	lb	# Libbraille
#braille-driver	lt	# LogText
#braille-driver	mb	# MultiBraille
#braille-driver	md	# MDV
#braille-driver	mm	# BrailleMemo
#braille-driver	mn	# MiniBraille
#braille-driver	mt	# Metec
#braille-driver	np	# NinePoint
#braille-driver	pg	# Pegasus
#braille-driver	pm	# Papenmeier
#braille-driver	sk	# Seika
#braille-driver	tn	# TechniBraille
#braille-driver	ts	# TSI
#braille-driver	vd	# VideoBraille
#braille-driver	vo	# Voyager;; Braille Pen, Easy Link
#braille-driver	vs	# VisioBraille

# The braille-device directive specifies the device to which the braille
# display is connected. The generic syntax is type:device. The device
# type is optional, and, for backward compatibility, defaults to serial.
# The following devices are supported (brackets indicate optionality):
#    serial:path (relative paths are anchored at "/dev")
#    usb:[serial-number]
#    bluetooth:address
# If not specified, "usb:,bluetooth:" will be used.
# If more than one device, separated by commas, is specified,
# then each of them will be probed in turn.
# (can be overridden with the --braille-device= [-d] option)
#braille-device	serial:ttyS0	# First serial device.
#braille-device	usb:		# First USB device matching braille driver.
#braille-device	usb:nnnnn	# Specific USB device by serial number.
#braille-device	bluetooth:		# First paired Bluetooth device matching braille driver.
#braille-device	bluetooth:xx:xx:xx:xx:xx:xx	# Specific bluetooth device by address.

# NOTE: If the device is connected via a serial-to-USB adapter then setting
# braille-device to usb: will not work. In this case, you needs to identify the
# virtual serial device which the kernel has created for the adapter, i.e. to
# something like serial:ttyUSB0 or ttyACM0 (see the kernel messages on device
# plug to get the actual device name).

# The release-device directive specifies whether or not the device to which the
# braille display is connected is to be released when the current screen or
# window can't be read by BRLTTY. If not specified, "on" will be used on Windows
# platforms and "off" will be used on all other platforms.
# (can be overridden with the --release-device [-r] option)
#release-device	on	# Release the device.
#release-device	off	# Don't release the device.

# The text-table directive specifies which text table to use. Relative paths
# are anchored at "/etc/brltty/Text". If not specified, locale-based
# autoselection with fallback to "en-nabcc" will be performed.
# (can be overridden with the --text-table= [-t] option)
#text-table	auto	# locale-based autoselection
#text-table	ar	# Arabic (generic)
#text-table	as	# Assamese
#text-table	awa	# Awadhi
#text-table	bg	# Bulgarian
#text-table	bh	# Bihari
#text-table	bn	# Bengali
#text-table	bo	# Tibetan
#text-table	bra	# Braj
#text-table	brf	# Braille Ready Format (for viewing .brf files within an editor or pager)
#text-table	cs	# Czech
#text-table	cy	# Welsh
#text-table	da	# Danish
#text-table	da-1252	# Danish (Svend Thougaard, 2002–11–18)
#text-table	da-lt	# Danish (LogText)
#text-table	de	# German
#text-table	dra	# Dravidian
#text-table	el	# Greek
#text-table	en	# English
#text-table	en_CA	# English (Canada)
#text-table	en_GB	# English (United Kingdom)
#text-table	en_US	# English (United States)
#text-table	en-nabcc	# English (North American Braille Computer Code)
#text-table	eo	# Esperanto
#text-table	es	# Spanish
#text-table	et	# Estonian
#text-table	fi	# Finnish
#text-table	fr	# French
#text-table	fr_CA	# French (Canada)
#text-table	fr_FR	# French (France)
#text-table	fr-2007	# French (unified 2007)
#text-table	fr-cbifs	# French (Code Braille Informatique Français Standard)
#text-table	fr-vs	# French (VisioBraille)
#text-table	ga	# Irish
#text-table	gd	# Gaelic
#text-table	gon	# Gondi
#text-table	gu	# Gujarati
#text-table	he	# Hebrew
#text-table	he_IL	# Hebrew (Israel)
#text-table	hi	# Hindi
#text-table	hr	# Croatian
#text-table	hu	# Hungarian
#text-table	hy	# Armenian
#text-table	is	# Icelandic
#text-table	it	# Italian
#text-table	kha	# Khasi
#text-table	kn	# Kannada
#text-table	kok	# Konkani
#text-table	kru	# Kurukh
#text-table	lt	# Lituanian
#text-table	lv	# Latvian
#text-table	mg	# Malagasy
#text-table	mi	# Maori
#text-table	ml	# Malayalam
#text-table	mni	# Manipuri
#text-table	mr	# Marathi
#text-table	mt	# Maltese
#text-table	mun	# Munda
#text-table	mwr	# Marwari
#text-table	ne	# Nepali
#text-table	new	# Newari
#text-table	nl	# Dutch
#text-table	nl_BE	# Dutch (Belgium)
#text-table	nl_NL	# Dutch (Netherlands)
#text-table	no	# Norwegian
#text-table	no-generic	# Norwegian (with support for other languages)
#text-table	no-oup	# Norwegian (Offentlig utvalg for punktskrift)
#text-table	nwc	# Newari (old)
#text-table	or	# Oriya
#text-table	pa	# Panjabi
#text-table	pi	# Pali
#text-table	pl	# Polish
#text-table	pt	# Portuguese
#text-table	ro	# Romanian
#text-table	ru	# Russian
#text-table	se	# Sami (Northern)
#text-table	sa	# Sanskrit
#text-table	sat	# Santali
#text-table	sd	# Sindhi
#text-table	sk	# Slovak
#text-table	sl	# Slovenian
#text-table	sv	# Swedish
#text-table	sv-1989	# Swedish (1989 standard)
#text-table	sv-1996	# Swedish (1996 standard)
#text-table	sw	# Swahili
#text-table	ta	# Tamil
#text-table	te	# Telugu
#text-table	tr	# Turkish
#text-table	uk	# Ukrainian
#text-table	vi	# Vietnamese

# The contraction-table directive specifies which contraction table to use.
# Relative paths are anchored at "/etc/brltty/Contraction". If not specified, no
# contraction table will be available.
# (can be overridden with the --contraction-table= [-c] option)
#contraction-table	auto	# locale-based autoselection
#contraction-table	af	# Afrikaans (contracted)
#contraction-table	am	# Amharic (uncontracted)
#contraction-table	de	# German
#contraction-table	de-g0	# German (uncontracted)
#contraction-table	de-g1	# German (basic contractions)
#contraction-table	de-g2	# German (contracted)
#contraction-table	en	# English
#contraction-table	en_US	# English (United States)
#contraction-table	en-ueb-g1	# English (Unified, uncontracted)
#contraction-table	en-ueb-g2	# English (Unified, contracted)
#contraction-table	en-us-g2	# English (United States, contracted)
#contraction-table	es	# Spanish (contracted)
#contraction-table	fr	# French
#contraction-table	fr-g1	# French (uncontracted)
#contraction-table	fr-g2	# French (contracted)
#contraction-table	ha	# Hausa (contracted)
#contraction-table	id	# Indonesian (contracted)
#contraction-table	ipa	# International Phonetic Alphabet
#contraction-table	ja	# Japanese (uncontracted)
#contraction-table	ko	# Korean
#contraction-table	ko-g0	# Korean (uncontracted)
#contraction-table	ko-g1	# Korean (partially contracted)
#contraction-table	ko-g2	# Korean (contracted)
#contraction-table	lt	# Lithuanian (uncontracted)
#contraction-table	mg	# Malagasy (contracted)
#contraction-table	mun	# Munda (contracted)
#contraction-table	nl	# Dutch (contracted)
#contraction-table	ny	# Chichewa (contracted)
#contraction-table	pt	# Portuguese (contracted)
#contraction-table	ru	# Russian (contracted)
#contraction-table	si	# Sinhalese (uncontracted)
#contraction-table	sw	# Swahili (contracted)
#contraction-table	th	# Thai (contracted)
#contraction-table	zh_TW	# Chinese (Taiwan, uncontracted)
#contraction-table	zu	# Zulu (contracted)

# The attributes-table directive specifies which attributes table to use.
# Relative paths are anchored at "/etc/brltty/Attributes". If not specified,
# "left_right" will be used.
# (can be overridden with the --attributes-table= [-a] option)
#attributes-table	left_right	# foreground colour in the left column and background colour in the right column
#attributes-table	invleft_right	# inverse foreground colour in the left column and background colour in the right column
#attributes-table	upper_lower	# foreground colour in the upper square and background colour in the lower square


#############################
# Braille Driver Parameters #
#############################

# The braille-parameters directive passes driver-specific parameters
# through to the braille driver.
# (can be specified more than once)
# (can be overridden with the --braille-parameters= [-B] option)
#braille-parameters driver:name=value,...

# Alva Braille Driver Parameters
#braille-parameters al:RotatedCells=no # [no,yes]
#braille-parameters al:SecondaryRoutingKeyEmulation=no # [no,yes]

# BrlAPI Braille Driver Parameters
#braille-parameters ba:Auth=/etc/brlapi.key
#braille-parameters ba:Host=:0

# BrailleLite Braille Driver Parameters
#braille-parameters bl:BaudRate=9600 # [300,600,1200,2400,4800,9600,19200,38400]
#braille-parameters bl:KbEmu=yes # [yes,no]

# Baum Braille Driver Parameters
#braille-parameters bm:Protocol=default # [default,escape,hid1,hid2,ht,pb]
#braille-parameters bm:VarioKeys=no # [no,yes]

# DotPad Braille Driver Parameters
#brailledd-parameters dp:Display=default # [default,text,graphic]
#brailledd-parameters dp:StatusCells=yes # [yes,no]
#brailledd-parameters dp:HorizontalSpacing=1 # [0-10] (dots)
#brailledd-parameters dp:VerticalSpacing=2 # [0-10] (dots)

# EuroBraille Braille Driver Parameters
#braille-parameters eu:Protocol= # [auto,azerbraille,clio,eurobraille,notebraille,pupibraille,scriba,esys,esytime,iris,esysiris]

# HandyTech Braille Driver Parameters
#braille-parameters ht:SetTime=no # [no,yes]

# Iris Braille Driver Parameters
#braille-parameters ir:Embedded= # [no,yes]
#braille-parameters ir:LatchDelay=10 # [0-100] (tenths of a second)
#braille-parameters ir:Protocol= # [eurobraille,native]

# Libbraille Braille Driver Parameters
#braille-parameters lb:Device=/dev/ttyS0 # 
#braille-parameters lb:Driver=auto # 
#braille-parameters lb:Table=us.tbl # 

# TSI Braille Driver Parameters
#braille-parameters ts:HighBaud=yes # [yes,no]
#braille-parameters ts:SetBaud=9600 # [4800,9600,19200]

# TTY Braille Driver Parameters
#braille-parameters tt:Baud=9600 # 
#braille-parameters tt:CharSet=ISO8859-1 # 
#braille-parameters tt:Columns=40 # [1-80]
#braille-parameters tt:Lines=1 # [1-3]
#braille-parameters tt:Locale= # 
#braille-parameters tt:Term=vt100 # [terminfo]

# VisioBraille Braille Driver Parameters
#braille-parameters vs:Baud=57600 # 
#braille-parameters vs:DisplaySize=40 # [20-40]
#braille-parameters vs:PromVersion=4 # [3-6]

# XWindow Braille Driver Parameters
#braille-parameters xw:Columns=40 # [1-80]
#braille-parameters xw:Font=name # []
#braille-parameters xw:Input=off # [off,on]
#braille-parameters xw:Lines=1 # [1-3]
#braille-parameters xw:Model=bare # [bare]
#braille-parameters xw:TkParms= # 


###################
# Speech Settings #
###################

# The speech-driver directive specifies the two-letter driver
# identification code of the driver for the speech synthesizer.
# If not specified, autodetection will be performed.
# If more than one driver, separated by commas, is specified,
# then autodetection will be performed amongst them.
# (can be overridden with the --speech-driver= [-s] option)
#speech-driver	auto	# autodetect
#speech-driver	al	# Alva
#speech-driver	an	# Android
#speech-driver	bl	# BrailleLite
#speech-driver	cb	# CombiBraille
#speech-driver	en	# eSpeak-NG
#speech-driver	es	# eSpeak
#speech-driver	fl	# FestivalLite
#speech-driver	fv	# Festival
#speech-driver	gs	# GenericSay
#speech-driver	mp	# Mikropuhe
#speech-driver	sd	# SpeechDispatcher
#speech-driver	sw	# Swift
#speech-driver	th	# Theta
#speech-driver	vv	# ViaVoice; Voxin
#speech-driver	xs	# ExternalSpeech

# The speech-input directive specifies the name of the file system object
# (FIFO, named pipe, named socket, etc) which can be used by external
# applications for text-to-speech conversion via BRLTTY's speech driver.
# Relative paths are anchored at the current working directory. If not
# specified, the file system object isn't created.
# (can be overridden with the --speech-input= [-i] option)
#speech-input	/path/to/file-system-object

# The quiet-if-no-braille directive specifies that the autospeak feature
# isn't to be implicitly enabled when the braille driver is not running.
# (can be overridden with the --quiet-if-no-braille= [-Q] option)
#quiet-if-no-braille	off	# [off,on]

# The autospeak-threshold directive specifies the minimum screen content
# quality that will trigger the autospeak feature.
# (can be overridden with the --autospeak-threshold= option)
#autospeak-threshold	none


############################
# Speech Driver Parameters #
############################

# The speech-parameters directive passes driver-specific parameters through
# to the speech driver.
# (can be specified more than once)
# (can be overridden with the --speech-parameters= [-S] option)
#speech-parameters driver:name=value,...

# eSpeak Speech Driver Parameters
#speech-parameters es:MaxRate=450 # [80-]
#speech-parameters es:Path=
#speech-parameters es:PunctList=
#speech-parameters es:Voice=default

# eSpeak-NG Speech Driver Parameters
#speech-parameters en:MaxRate=450 # [80-]
#speech-parameters en:Path=
#speech-parameters en:PunctList=
#speech-parameters en:Voice=en

# ExternalSpeech Speech Driver Parameters
#speech-parameters xs:Socket_Path=/tmp/exs-data

# Festival Speech Driver Parameters
#speech-parameters fv:Command=festival # [/path/to/command]
#speech-parameters fv:Name= # [kevin,kal]

# FestivalLite Speech Driver Parameters
#speech-parameters fl:Pitch=100 # [50-200]

# GenericSay Speech Driver Parameters
#speech-parameters gs:Command=/usr/local/bin/say

# Mikropuhe Speech Driver Parameters
#speech-parameters mp:Name= # [/path/to/mikropuhe/name.pu5]
#speech-parameters mp:Pitch=0 # [-10-10]

# SpeechDispatcher Speech Driver Parameters
#speech-parameters sd:Address= # [address of speech-dispatcher's server]
#speech-parameters sd:Autospawn= # [yes,no]
#speech-parameters sd:Language= # [two-letter language code]
#speech-parameters sd:Module= # [flite,festival,epos-generic,dtk-generic,...]
#speech-parameters sd:Name= # 
#speech-parameters sd:Voice= # [male1,female1,male2,female2,male3,female3,child_male,child_female]

# Swift Speech Driver Parameters
#speech-parameters sw:Name= # [voice,/path/to/voice]

# Theta Speech Driver Parameters
#speech-parameters th:Age= # [1-99,-1--99]
#speech-parameters th:Gender= # [male,female,neuter]
#speech-parameters th:Language= # [two-letter language code]
#speech-parameters th:Name= # [voice,/path/to/voice]
#speech-parameters th:Pitch=0.0 # [-2.0-2.0]

# ViaVoice Speech Driver Parameters
#speech-parameters vv:Quality= # [fair,poor,good]
#speech-parameters vv:Mode= # [words,letters,punctuation,phonetic]
#speech-parameters vv:Synthesize= # [sentences,all]
#speech-parameters vv:Abbreviations= # [on,off]
#speech-parameters vv:Years= # [on,off]
#speech-parameters vv:Language= # [American-English, British-English, Castilian-Spanish, Mexican-Spanish, Standard-French, Canadian-French, Standard-German, Standard-Italian, Standard-Mandarin-GBK, Standard-Mandarin-PinYin, Standard-Mandarin-UCS2, Taiwanese-Mandarin-Big5, Taiwanese-Mandarin-ZhuYin, Taiwanese-Mandarin-PinYin, Taiwanese-Mandarin-UCS2, Brazilian-Portuguese, Standard-Japanese-SJIS, Standard-Japanese-UCS2, Standard-Finnish, Standard-Korean-UHC, Standard-Korean-UCS2, Standard-Cantonese-GBK, Standard-Cantonese-UCS2, HongKong-Cantonese-Big5, HongKong-Cantonese-UCS2, Standard-Dutch, Standard-Norwegian, Standard-Swedish, Standard-Danish, Standard-Thai-TIS620]
#speech-parameters vv:Voice= # [man,woman,child,patriarch,matriarch]
#speech-parameters vv:Gender= # [male,female]
#speech-parameters vv:HeadSize= # [0-100]
#speech-parameters vv:PitchBaseline= # [40-422 Hz]
#speech-parameters vv:Expressiveness= # [0-100] (pitch fluctuation)
#speech-parameters vv:Roughness= # [0-100]
#speech-parameters vv:Breathiness= # [0-100]
#speech-parameters vv:Volume= # [0-100 %]
#speech-parameters vv:Speed= # [70-1297 wpm]


#####################
# Keyboard Settings #
#####################

# The keyboard-table directive specifies which keyboard table to use. Relative paths are
# anchored at "/etc/brltty/Keyboard". If not specified, no keyboard table is used.
# (can be overridden with the --keyboard-table= [-k] option)
#keyboard-table	off	# no keyboard table
#keyboard-table	braille	# bindings for braille keyboards
#keyboard-table	desktop	# bindings for full keyboards
#keyboard-table	keypad	# bindings for keypad-based navigation
#keyboard-table	laptop	# bindings for keyboards without a keypad
#keyboard-table	sun_type6	# bindings for Sun Type 6 keyboards

# The keyboard-properties directive specifies which keyboards to monitor.
# If not specified, all keyboards are monitored.
# (can be specified more than once)
# (can be overridden with the --keyboard-properties= [-K] option)
#keyboard-properties	Type=any	# [any,ps2,usb,bluetooth,internal]
#keyboard-properties	Vendor=0X0000	# [0X0000-0XFFFF]
#keyboard-properties	Product=0X0000	# [0X0000-0XFFFF]

# The gui-keyboard directive enables the handling of keyboard events when
# using a Linux tty in graphics mode.
# (can be overridden with the --gui-keyboard= [-g] option)
#gui-keyboard	off	# [off,on]


##################
# Sound Settings #
##################

# The pcm-device directive specifies the device to use for soundcard
# digital audio. If not specified, a method- and system-dependent
# default will be used.
# (can be overridden with the --pcm-device= [-p] option)
#pcm-device	/path/to/device	# most methods
#pcm-device	pcm-handle-id	# ALSA (see second parameter of snd_pcm_open)

# The midi-device directive specifies the device to use for the Musical
# Instrument Digital Interface. If not specified, a method- and
# system-dependent default will be used.
# (can be overridden with the --midi-device= [-m] option)
#midi-device	/path/to/device	# most methods
#midi-device	client:port	# ALSA (may use number or case-sensitive substring of name)


###################
# Logging Options #
###################

# The quiet directive reduces the logging level to standard error by one
# level and also suppresses the braille and speech driver banners.
# (can be overridden with the --quiet [-q] option)
#quiet off	# [off,on]

# The log-file directive specifies the file to which diagnostics are written.
# Relative paths are anchored at the current working directory. If not
# specified, diagnostics are written to the system log.
# (can be overridden with the --log-file= [-L] option)
#log-file	/tmp/brltty.log

# The log-level directive specifies which event categories are to be
# logged as well as the severity threshold for uncategorized events.
# The category names and severity threshold are separated by commas.
# (can be overridden with the --log-level= [-l] option)
#log-level	notice

# Only one severity threshold may be specified. Less severe uncategorized
# events will not be logged. If not specified, "notice" will be assumed.
# The severity thresholds are:
#log-level	emergency
#log-level	alert
#log-level	critical
#log-level	error
#log-level	warning
#log-level	notice
#log-level	information
#log-level	debug

# Any number of event categories may be enabled. Prefixing a category name
# with a minus sign [-] disables it (particularly useful if "all" is used).
# The categories are:
#log-level	all	# enable all of the categories
#log-level	inpkts	# input packets
#log-level	outpkts	# output packets
#log-level	brlkeys	# braille device key events
#log-level	kbdkeys	# keyboard key events
#log-level	csrtrk	# cursor tracking
#log-level	csrrtg	# cursor routing
#log-level	update	# update events
#log-level	speech	# speech events
#log-level	async	# asynchronous event scheduling
#log-level	server	# BrlAPI server events
#log-level	gio	# generic I/O
#log-level	serial	# serial I/O
#log-level	usb	# USB I/O
#log-level	bt	# Bluetooth I/O
#log-level	hid	# Human Interface I/O
#log-level	brldrv	# braille driver events
#log-level	spkdrv	# speech driver events
#log-level	scrdrv	# screen driver events


#######################
# Preference Settings #
#######################

# The preferences-file directive specifies the file in which to save the user's
# preferences. Relative paths are usually anchored at "/var/lib/brltty"
# (can be changed via the updatable-directory directive).
# If not specified, "brltty.prefs" will be used.
# (can be overridden with the --preferences-file= [-F] option)
#preferences-file	brltty.prefs

# The override-preferences directive can be used to explicitly specify the
# initial setting of any preference. More than one preference may be overridden
# by separating them by commas and/or by using this directive multiple times.
# (can be specified more than once)
# (can be overridden with the --override-preferences= [-o] option)
#override-preferences preference=setting,...


##########################
# Miscellaneous Settings #
##########################

# The pid-file directive specifies the absolute path to a file that will
# contain BRLTTY's process identifier. It is removed when BRLTTY terminates.
# (can be overridden with the --pid-file= [-P] option)
#pid-file /run/brltty/brltty.pid

# The locale-directory directive specifies the absolute path to the directory
# which contains the compiled message translations for other languages. If not
# specified, "/usr/share/locale" will be used.
# (can be overridden with the --locale-directory= option)
#locale-directory /usr/share/locale

# The updatable-directory directive specifies the absolute path to a directory
# which contains files that can be updated (preferences, saved clipboard, etc).
# If not specified, "/var/lib/brltty" will be used.
# (can be overridden with the --updatable-directory= [-U] option)
#updatable-directory /var/lib/brltty

# The writable-directory directive specifies the absolute path to a directory
# which can be written to (creation of missing but needed resources, etc). If
# not specified, "/run/brltty" will be used.
# (can be overridden with the --writable-directory= [-W] option)
#writable-directory /run/brltty

# The drivers-directory directive specifies the absolute path to the
# directory which contains the dynamically loadable drivers. If not
# specified, /lib/brltty will be used.
# (can be overridden with the --drivers-directory= [-D] option)
#drivers-directory /lib/brltty

# The helpers-directory directive specifies the absolute path to the
# directory which contains the helper commands. If not
# specified, /libexec/brltty will be used.
# (can be overridden with the --helpers-directory= [-H] option)
#helpers-directory /libexec/brltty

# The tables-directory directive specifies the absolute path to the directory
# which contains the text, contraction, attributes, keyboard, and input tables.
# If not specified, "/etc/brltty" will be used.
# (can be overridden with the --tables-directory= [-T] option)
#tables-directory /etc/brltty

# The start-message directive specifies the text to be shown when the braille
# driver starts and to be spoken when the speech driver starts. If not
# specified, "BRLTTY 6.9" will be used.
# (can be overridden with the --start-message= option)
#start-message BRLTTY\s6.9

# The stop-message directive specifies the text to be shown when the braille
# driver stops. If not specified, "BRLTTY stopped" will be used.
# (can be overridden with the --stop-message= option)
#stop-message BRLTTY\sstopped

# The prompt-patterns directive specifies a list of regular expressions
# that are to be used by the NXPROMPT and PRPROMPT navigation commands.
# If not specified, then an exact match of the content of the current line,
# up to and including the first space, will be used.
# (can be specified more than once)
# (can be overridden with the --prompt-patterns= option)
#prompt-patterns	regexp,...

# The message-time directive specifies how long a message is to be displayed
# before it's automatically cleared. If not specified, four seconds will be
# used.
# (can be overridden with the --message-time= [-M] option)
#message-time	400	# hundredths of a second


########################
# Privilege Parameters #
########################

# The stay-privileged directive disables switching to an unprivilegdd user
# as well as the relinquishing of any privileges (group memberships,
# capabilities, etc).
# (can be overridden with the --stay-privileged= [-z] option)
#stay-privileged	off	# [off,on]

# The privilege-parameters directive specifies the default privilege
# establishment parameters to use when BRLTTY is started by a privileged
# user (e.g. by root on a Linux/Unix system). The configured defaults are:
# "".
# (can be specified more than once)
# (can be overridden with the --privilege-parameters= [-Z] option)
#privilege-parameters platform:name=value,...

# Linux Privilege Parameters
#privilege-parameters lx:path=/usr/sbin:/sbin:/usr/bin:/bin
#privilege-parameters lx:scfmode=no # [no,log,fail,kill]
#privilege-parameters lx:shell=/bin/sh
#privilege-parameters lx:user=brltty


################################################
# Application Programming Interface Parameters #
################################################

# The no-api directive disables the Application Programming Interface (API).
# (can be overridden with the --no-api= [-N] option)
#no-api	off	# [off,on]

# The api-parameters directive passes parameters to the Application
# Programming Interface.
# (can be specified more than once)
# (can be overridden with the --api-parameters= [-A] option)
#api-parameters name=value,...

#api-parameters Auth=keyfile:/etc/brlapi.key	# Require authentication key
#api-parameters Auth=user:joe		# Allow some local user
#api-parameters Auth=group:brl		# Allow some local group
#api-parameters Auth=polkit		# authenticate via Polkit
#api-parameters Host=:0			# Accept only local Unix connections
#api-parameters Host=0.0.0.0:0		# Accept any internet connection.
#api-parameters StackSize=65536


###################
# Screen Settings #
###################

# The screen-driver directive specifies the two-letter driver
# identification code of the driver for the console screen.
# (can be overridden with the --screen-driver= [-x] option)
#screen-driver	an	# Android
#screen-driver	as	# AtSpi
#screen-driver	a2	# AtSpi2
#screen-driver	em	# Terminal Emulator
#screen-driver	fv	# File Viewer
#screen-driver	hd	# Hurd
#screen-driver	lx	# Linux
#screen-driver	pb	# PcBios
#screen-driver	sc	# Screen
#screen-driver	tx	# Tmux
#screen-driver	wn	# Windows


############################
# Screen Driver Parameters #
############################

# The screen-parameters directive passes driver-specific parameters through
# to the screen driver.
# (can be specified more than once)
# (can be overridden with the --screen-parameters= [-X] option)
#screen-parameters driver:name=value,...

# AtSpi Screen Driver Parameters
#screen-parameters as:Type=text+terminal # [text,terminal,all]+...

# AtSpi2 Screen Driver Parameters
#screen-parameters a2:Release=yes # [yes,no]
#screen-parameters a2:Type=default # [default,all,{terminal,text}+...]

# File Viewer Screen Driver Parameters
#screen-parameters fv:File=path #
#screen-parameters fv:show=no # [no,yes]

# Linux Screen Driver Parameters
#screen-parameters lx:Charset=name+... # []
#screen-parameters lx:FallbackText=text # ""
#screen-parameters lx:HFB=auto # [auto,vga,fb,0-7]
#screen-parameters lx:LargeScreenBug=no # [no,yes]
#screen-parameters lx:LogSFM=no # [no,yes]
#screen-parameters lx:RpiSpacesBug=no # [no,yes]
#screen-parameters lx:Unicode=yes # [yes,no]
#screen-parameters lx:VT=0 # [0-63]
#screen-parameters lx:WidecharPadding=no # [no,yes]

# Terminal Emulator Screen Driver Parameters
#screen-parameters em:Directory=path # []
#screen-parameters em:Emulator=command # [brltty-pty]
#screen-parameters em:Group=name/number # []
#screen-parameters em:Home=path # []
#screen-parameters em:Path=path # []
#screen-parameters em:Shell=command # [$SHELL]
#screen-parameters em:User=name/number # []

# Tmux Screen Driver Parameters
#screen-parameters tx:Session=name #
#screen-parameters tx:Socket=path #
#
# Windows Screen Driver Parameters
#screen-parameters wn:Root=no # [no,yes]
#screen-parameters wn:FollowFocus=yes # [yes,no]