mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 14:31:46 +00:00
Basic braille screen reader support
This adds a minimalistic braille screen reader support. This is meant to be used by blind people e.g. on boot failures or when / cannot be mounted etc and thus the userland screen readers can not work. [akpm@linux-foundation.org: fix exports] Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Cc: Jiri Kosina <jikos@jikos.cz> Cc: Dmitry Torokhov <dtor@mail.ru> Acked-by: Alan Cox <alan@redhat.com> Cc: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
730f412c08
commit
f7511d5f66
15 changed files with 538 additions and 30 deletions
|
@ -91,6 +91,7 @@ void give_up_console(const struct consw *sw);
|
|||
#define CON_ENABLED (4)
|
||||
#define CON_BOOT (8)
|
||||
#define CON_ANYTIME (16) /* Safe to call when cpu is offline */
|
||||
#define CON_BRL (32) /* Used for a braille device */
|
||||
|
||||
struct console {
|
||||
char name[16];
|
||||
|
@ -121,6 +122,9 @@ extern struct tty_driver *console_device(int *);
|
|||
extern void console_stop(struct console *);
|
||||
extern void console_start(struct console *);
|
||||
extern int is_console_locked(void);
|
||||
extern int braille_register_console(struct console *, int index,
|
||||
char *console_options, char *braille_options);
|
||||
extern int braille_unregister_console(struct console *);
|
||||
|
||||
extern int console_suspend_enabled;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue