<commit_before>/*
 * 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-2016 by The BRLTTY Developers.
 *
 * BRLTTY comes with ABSOLUTELY NO WARRANTY.
 *
 * This is free software, placed under the terms of the
 * GNU General Public License, as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any
 * later version. Please see the file LICENSE-GPL for details.
 *
 * Web Page: http://brltty.com/
 *
 * This software is maintained by <NAME> <<EMAIL>>.
 */

#include "prologue.h"

#include "bluetooth_internal.h"

#define BLUETOOTH_NAME_DRIVERS(name, ...) static const char *const bluetoothNameDrivers_##name[] = {__VA_ARGS__, NULL}
BLUETOOTH_NAME_DRIVERS(Actilino, "ht");
BLUETOOTH_NAME_DRIVERS(ActiveBraille, "ht");
BLUETOOTH_NAME_DRIVERS(AlvaBC, "al");
BLUETOOTH_NAME_DRIVERS(Apex, "bn");
BLUETOOTH_NAME_DRIVERS(BasicBraille, "ht");
BLUETOOTH_NAME_DRIVERS(BaumConny, "bm");
BLUETOOTH_NAME_DRIVERS(BaumPocketVario, "bm");
BLUETOOTH_NAME_DRIVERS(BaumSuperVario, "bm");
BLUETOOTH_NAME_DRIVERS(BaumSVario, "bm");
BLUETOOTH_NAME_DRIVERS(BrailleConnect, "bm");
BLUETOOTH_NAME_DRIVERS(BrailleEdge, "hm");
BLUETOOTH_NAME_DRIVERS(BrailleMemoPocket, "mm");
BLUETOOTH_NAME_DRIVERS(BrailleMemoSmart, "mm");
BLUETOOTH_NAME_DRIVERS(BrailleMemo32, "mm");
BLUETOOTH_NAME_DRIVERS(BrailleSense, "hm");
BLUETOOTH_NAME_DRIVERS(BrailleStar, "ht");
BLUETOOTH_NAME_DRIVERS(Braillex, "pm");
BLUETOOTH_NAME_DRIVERS(BrailliantBI, "hw");
BLUETOOTH_NAME_DRIVERS(Brailliant80, "hw");
BLUETOOTH_NAME_DRIVERS(B2G, "bm");
BLUETOOTH_NAME_DRIVERS(Conny, "bm");
BLUETOOTH_NAME_DRIVERS(EL12, "al", "vo");
BLUETOOTH_NAME_DRIVERS(Focus, "fs");
BLUETOOTH_NAME_DRIVERS(HWGBrailliant, "bm");
BLUETOOTH_NAME_DRIVERS(MB248, "md");
BLUETOOTH_NAME_DRIVERS(Pronto, "bm");
BLUETOOTH_NAME_DRIVERS(Refreshabraille, "bm");
BLUETOOTH_NAME_DRIVERS(SuperVario, "bm");
BLUETOOTH_NAME_DRIVERS(TSM, "sk");
BLUETOOTH_NAME_DRIVERS(VarioConnect, "bm");
BLUETOOTH_NAME_DRIVERS(VarioUltra, "bm");

const BluetoothNameEntry bluetoothNameTable[] = {
  { .namePrefix = "Actilino ALO",
    .driverCodes = bluetoothNameDrivers_Actilino
  },

  { .namePrefix = "Active Braille",
    .driverCodes = bluetoothNameDrivers_ActiveBraille
  },

  { .namePrefix = "ALVA BC",
    .driverCodes = bluetoothNameDrivers_AlvaBC
  },

  { .namePrefix = "Apex",
    .driverCodes = bluetoothNameDrivers_Apex
  },

  { .namePrefix = "Basic Braille",
    .driverCodes = bluetoothNameDrivers_BasicBraille
  },

  { .namePrefix = "BAUM Conny",
    .driverCodes = bluetoothNameDrivers_BaumConny
  },

  { .namePrefix = "Baum PocketVario",
    .driverCodes = bluetoothNameDrivers_BaumPocketVario
  },

  { .namePrefix = "Baum SuperVario",
    .driverCodes = bluetoothNameDrivers_BaumSuperVario
  },

  { .namePrefix = "Baum SVario",
    .driverCodes = bluetoothNameDrivers_BaumSVario
  },

  { .namePrefix = "BrailleConnect",
    .driverCodes = bluetoothNameDrivers_BrailleConnect
  },

  { .namePrefix = "BrailleEDGE",
    .driverCodes = bluetoothNameDrivers_BrailleEdge
  },

  { .namePrefix = "BMpk",
    .driverCodes = bluetoothNameDrivers_BrailleMemoPocket
  },

  { .namePrefix = "BMsmart",
    .driverCodes = bluetoothNameDrivers_BrailleMemoSmart
  },

  { .namePrefix = "BM32",
    .driverCodes = bluetoothNameDrivers_BrailleMemo32
  },

  { .namePrefix = "BrailleSense",
    .driverCodes = bluetoothNameDrivers_BrailleSense
  },

  { .namePrefix = "Braille Star",
    .driverCodes = bluetoothNameDrivers_BrailleStar
  },

  { .namePrefix = "Braillex",
    .driverCodes = bluetoothNameDrivers_Braillex<commit_msg>Add the Bluetooth name for a HumanWare BrailleNote Touch. (dm)<commit_after>/*
 * 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-2016 by The BRLTTY Developers.
 *
 * BRLTTY comes with ABSOLUTELY NO WARRANTY.
 *
 * This is free software, placed under the terms of the
 * GNU General Public License, as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any
 * later version. Please see the file LICENSE-GPL for details.
 *
 * Web Page: http://brltty.com/
 *
 * This software is maintained by <NAME> <<EMAIL>>.
 */

#include "prologue.h"

#include "bluetooth_internal.h"

#define BLUETOOTH_NAME_DRIVERS(name, ...) static const char *const bluetoothNameDrivers_##name[] = {__VA_ARGS__, NULL}
BLUETOOTH_NAME_DRIVERS(Actilino, "ht");
BLUETOOTH_NAME_DRIVERS(ActiveBraille, "ht");
BLUETOOTH_NAME_DRIVERS(AlvaBC, "al");
BLUETOOTH_NAME_DRIVERS(Apex, "bn");
BLUETOOTH_NAME_DRIVERS(BasicBraille, "ht");
BLUETOOTH_NAME_DRIVERS(BaumConny, "bm");
BLUETOOTH_NAME_DRIVERS(BaumPocketVario, "bm");
BLUETOOTH_NAME_DRIVERS(BaumSuperVario, "bm");
BLUETOOTH_NAME_DRIVERS(BaumSVario, "bm");
BLUETOOTH_NAME_DRIVERS(BrailleConnect, "bm");
BLUETOOTH_NAME_DRIVERS(BrailleEdge, "hm");
BLUETOOTH_NAME_DRIVERS(BrailleMemoPocket, "mm");
BLUETOOTH_NAME_DRIVERS(BrailleMemoSmart, "mm");
BLUETOOTH_NAME_DRIVERS(BrailleMemo32, "mm");
BLUETOOTH_NAME_DRIVERS(BrailleNoteTouch, "hw");
BLUETOOTH_NAME_DRIVERS(BrailleSense, "hm");
BLUETOOTH_NAME_DRIVERS(BrailleStar, "ht");
BLUETOOTH_NAME_DRIVERS(Braillex, "pm");
BLUETOOTH_NAME_DRIVERS(BrailliantBI, "hw");
BLUETOOTH_NAME_DRIVERS(Brailliant80, "hw");
BLUETOOTH_NAME_DRIVERS(B2G, "bm");
BLUETOOTH_NAME_DRIVERS(Conny, "bm");
BLUETOOTH_NAME_DRIVERS(EL12, "al", "vo");
BLUETOOTH_NAME_DRIVERS(Focus, "fs");
BLUETOOTH_NAME_DRIVERS(HWGBrailliant, "bm");
BLUETOOTH_NAME_DRIVERS(MB248, "md");
BLUETOOTH_NAME_DRIVERS(Pronto, "bm");
BLUETOOTH_NAME_DRIVERS(Refreshabraille, "bm");
BLUETOOTH_NAME_DRIVERS(SuperVario, "bm");
BLUETOOTH_NAME_DRIVERS(TSM, "sk");
BLUETOOTH_NAME_DRIVERS(VarioConnect, "bm");
BLUETOOTH_NAME_DRIVERS(VarioUltra, "bm");

const BluetoothNameEntry bluetoothNameTable[] = {
  { .namePrefix = "Actilino ALO",
    .driverCodes = bluetoothNameDrivers_Actilino
  },

  { .namePrefix = "Active Braille",
    .driverCodes = bluetoothNameDrivers_ActiveBraille
  },

  { .namePrefix = "ALVA BC",
    .driverCodes = bluetoothNameDrivers_AlvaBC
  },

  { .namePrefix = "Apex",
    .driverCodes = bluetoothNameDrivers_Apex
  },

  { .namePrefix = "Basic Braille",
    .driverCodes = bluetoothNameDrivers_BasicBraille
  },

  { .namePrefix = "BAUM Conny",
    .driverCodes = bluetoothNameDrivers_BaumConny
  },

  { .namePrefix = "Baum PocketVario",
    .driverCodes = bluetoothNameDrivers_BaumPocketVario
  },

  { .namePrefix = "Baum SuperVario",
    .driverCodes = bluetoothNameDrivers_BaumSuperVario
  },

  { .namePrefix = "Baum SVario",
    .driverCodes = bluetoothNameDrivers_BaumSVario
  },

  { .namePrefix = "BrailleConnect",
    .driverCodes = bluetoothNameDrivers_BrailleConnect
  },

  { .namePrefix = "BrailleEDGE",
    .driverCodes = bluetoothNameDrivers_BrailleEdge
  },

  { .namePrefix = "BMpk",
    .driverCodes = bluetoothNameDrivers_BrailleMemoPocket
  },

  { .namePrefix = "BMsmart",
    .driverCodes = bluetoothNameDrivers_BrailleMemoSmart
  },

  { .namePrefix = "BM32",
    .driverCodes = bluetoothNameDrivers_BrailleMemo32
  },

  { .namePrefix = "BrailleNote Touch",
    .driverCodes = bluetoothNameDrivers_BrailleNoteTouch
  },

  { .namePrefix = "BrailleSense",
    .driverCodes = bluetoothNameDrivers_BrailleSense
  },

  { .namePrefix = "Braille Star",
    .driverCodes = bluetoothNameDrivers_BrailleStar
  },

  { .namePrefix = "Braillex",
    .driverCodes = bluetoothNameDrivers_Braillex
{'fraction_non_alphanumeric': 0.11737704918032787, 'fraction_numerical': 0.006032786885245902, 'mean_word_length': 5.568475452196383, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1521426', 'n_tokens_mistral': 3177, 'n_tokens_neox': 2943, 'n_words': 503}