/* * 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-2021 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 . */ #ifndef BRLTTY_INCLUDED_PARAMETERS #define BRLTTY_INCLUDED_PARAMETERS #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define PROGRAM_TERMINATION_REQUEST_COUNT_THRESHOLD 3 #define PROGRAM_TERMINATION_REQUEST_RESET_SECONDS 5 #define DEFAULT_ACTIVITY_START_TIMEOUT 1000 #define DEFAULT_ACTIVITY_STOP_TIMEOUT 1000 #define BRAILLE_DRIVER_START_RETRY_INTERVAL 5000 #define BRAILLE_DRIVER_INPUT_POLL_INTERVAL 40 #define BRAILLE_MESSAGE_ACKNOWLEDGEMENT_TIMEOUT 1000 #define BRAILLE_MESSAGE_UNACKNOWLEDGEED_LIMIT 5 #define SPEECH_DRIVER_START_RETRY_INTERVAL 5000 #define SPEECH_DRIVER_START_AUTOSPEAK_DELAY 4000 #define SPEECH_DRIVER_THREAD_START_TIMEOUT 15000 #define SPEECH_DRIVER_THREAD_STOP_TIMEOUT 5000 #define SPEECH_RESPONSE_WAIT_TIMEOUT 5000 #define SCREEN_DRIVER_START_RETRY_INTERVAL 5000 #define SCREEN_FREEZE_REMINDER_INTERVAL 30000 #define SCREEN_UPDATE_POLL_INTERVAL 40 #define SCREEN_UPDATE_SCHEDULE_DELAY 5 #define KEYBOARD_MONITOR_START_RETRY_INTERVAL 5000 #define PID_FILE_CREATE_RETRY_INTERVAL 5000 #define UPDATE_SCHEDULE_DELAY 15 #define ROUTING_PROCESS_NICENESS 10 #define ROUTING_POLL_INTERVAL 1 #define ROUTING_MAXIMUM_TIMEOUT 2000 #define TUNE_DEVICE_CLOSE_DELAY 2000 #define TUNE_TOGGLE_REPEAT_DELAY 100 #define MESSAGE_HOLD_TIMEOUT 4000 #define LEARN_MODE_TIMEOUT 10000 #define INPUT_STICKY_MODIFIERS_TIMEOUT 5000 #define MOUNT_TABLE_UPDATE_RETRY_INTERVAL 5000 #define GPM_CONNECTION_RESET_DELAY 5000 #define GIO_USB_INPUT_MONITOR_DISABLE 0 #define SERIAL_DEVICE_RESTART_DELAY 500 #define USB_INPUT_AWAIT_RETRY_INTERVAL_MINIMUM 10 #define USB_INPUT_READ_INITIAL_TIMEOUT_DEFAULT 20 #define USB_INPUT_INTERRUPT_DELAY_MAXIMUM 16 #define USB_INPUT_INTERRUPT_REQUESTS_MAXIMUM 8 #define BLUETOOTH_DEVICE_NAME_OBTAIN_TIMEOUT 5000 #define BLUETOOTH_CHANNEL_BUSY_RETRY_TIMEOUT 2000 #define BLUETOOTH_CHANNEL_BUSY_RETRY_INTERVAL 100 #define BLUETOOTH_CHANNEL_CONNECT_TIMEOUT 15000 #define LINUX_INPUT_DEVICE_OPEN_DELAY 1000 #define LINUX_USB_INPUT_PIPE_DISABLE 0 #define LINUX_USB_INPUT_USE_SIGNAL_MONITOR 0 #define LINUX_USB_INPUT_TREAT_INTERRUPT_AS_BULK 0 #define LINUX_BLUETOOTH_NAME_OBTAIN_ASYNCHRONOUS 1 #define LINUX_BLUETOOTH_CHANNEL_DISCOVER_ASYNCHRONOUS 1 #define LINUX_BLUETOOTH_CHANNEL_CONNECT_ASYNCHRONOUS 1 #define WINDOWS_FILE_LOCK_RETRY_INTERVAL 1000 #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* BRLTTY_INCLUDED_PARAMETERS */