[BRLTTY] [PATCH] Support for Freedom Scientific Focus 14

Mario Lang mlang at delysid.org
Mon Dec 3 08:41:49 EST 2012


Hi.

If you happen to use a Focus 14, you might have noticed that it is
initialized, but does not work correctly with the current stable release
(4.4) and the current development branch.  The patch below makes it
work.
You should be able to apply this patch to the 4.4 tarball as well if you
want a quick fix without moving to the development version, which will
probably include this change in the near future.

Change to the toplevel source tree of BRLTTY and apply the patch with
$ patch -p1 <FILENAME

--- a/Drivers/Braille/FreedomScientific/braille.c
+++ b/Drivers/Braille/FreedomScientific/braille.c
@@ -391,6 +391,12 @@ typedef struct {
 static const DotsTable dotsTable_Focus1 = {0X01, 0X02, 0X04, 0X10, 0X20, 0X40, 0X08, 0X80};
 
 static const ModelEntry modelTable[] = {
+  { .identifier = "Focus 14",
+    .dotsTable = &dotsTable_ISO11548_1,
+    .cellCount = 14,
+    .type = MOD_TYPE_Focus
+  }
+  ,
   { .identifier = "Focus 40",
     .dotsTable = &dotsTable_ISO11548_1,
     .cellCount = 40,

-- 
CYa,
  ⡍⠁⠗⠊⠕


More information about the BRLTTY mailing list