<commit_before>.TH "TS.CONF" "5" "" "" "tslib"
.SH "NAME"
ts.conf \- Configuration file for tslib, controlling touch screens for embedded devices\&.
.SH "DESCRIPTION"
.PP
The idea of tslib is to have a core library that provides standardised services, and a set of plugins to manage the conversion and filtering as needed\&.
.PP
The plugins for a particular touchscreen are loaded automatically by the library under the control of a static configuration file,
/etc/ts\&.conf\&.
/etc/ts\&.conf
gives the library basic configuration information\&. Each line specifies one module, and the parameters for that module\&. The modules are loaded in order, with the first one processing the touchscreen data first\&. For example:
.sp
.if n \{\
.RS 4
.\}
.nf
  module_raw input
  module variance delta=30
  module dejitter delta=100
  module linear<commit_msg>ts.conf.5: fix typo standardised -> standard<commit_after>.TH "TS.CONF" "5" "" "" "tslib"
.SH "NAME"
ts.conf \- Configuration file for tslib, controlling touch screens for embedded devices\&.
.SH "DESCRIPTION"
.PP
The idea of tslib is to have a core library that provides standard services, and a set of plugins to manage the conversion and filtering as needed\&.
.PP
The plugins for a particular touchscreen are loaded automatically by the library under the control of a static configuration file,
/etc/ts\&.conf\&.
/etc/ts\&.conf
gives the library basic configuration information\&. Each line specifies one module, and the parameters for that module\&. The modules are loaded in order, with the first one processing the touchscreen data first\&. For example:
.sp
.if n \{\
.RS 4
.\}
.nf
  module_raw input
  module variance delta=30
  module dejitter delta=100
  module linear
{'fraction_non_alphanumeric': 0.08617698091382302, 'fraction_numerical': 0.008675534991324466, 'mean_word_length': 3.9855907780979827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4065491', 'n_tokens_mistral': 496, 'n_tokens_neox': 481, 'n_words': 243}