From: Mushahid Hussain <mushi.shar@gmail.com>
To: samuel.thibault@ens-lyon.org
Cc: okash.khawaja@gmail.com, speakup@linux-speakup.org,
linux-kernel@vger.kernel.org,
Mushahid Hussain <mushi.shar@gmail.com>
Subject: [PATCHv2 0/2] default driver params and phonetic spelling while arrowing
Date: Tue, 15 Nov 2022 14:48:10 +0500 [thread overview]
Message-ID: <20221115094812.81632-1-mushi.shar@gmail.com> (raw)
This patch series allows specifying default driver parameters for speakup
as module parameters, and includes an additional parameter, cur_phonetic.
cur_phonetic is necessary to introduce an enhancement which allows
speakup to speak letters phonetically, when a user arrows a
word letter by letter. This functionality can be enabled
by setting /sys/speakup/cur_phonetic to 1.
When cur_phonetic is set to 1, speakup will speak letters as
phonetically when arrowing over a word.
This does not affect when a user is typing but only affects when a user
is arrowing over a word.
When cur_phonetic is set to 0, speakup will work as before, it will
speak letters normally when arrowing over them.
When a user does not set /sys/speakup/cur_phonetic to any value, the
default value is 0.
Only accepted values for /sys/speakup/cur_phonetic are 1 and 0.
1. It indexes spk_vars by an enum and allows specifying spk_vars
as module parameters.
2. It introduces a new variable cur_phonetic in spk_vars,
allows specifying it as a module parameter as well. It also makes
cur_phonetic accessible in sysfs at /sys/speakup/ as all other
spk_vars. cur_phonetic can be used by users to enable phonetic
annuncement of letters when navigated by the cursor.
It also documents the cur_phonetic in
/Documentation/ABI/stable/sysfs-driver-speakup.
since V1:
- removed unnecessary lines
Mushahid Hussain (2):
accessibility: speakup: Specify spk_vars among module parameters
accessibility: speakup: phonetic spelling while arrowing letter by
letter
Documentation/ABI/stable/sysfs-driver-speakup | 9 +++
drivers/accessibility/speakup/kobjects.c | 3 +
drivers/accessibility/speakup/main.c | 72 +++++++++++++++----
drivers/accessibility/speakup/speakup.h | 1 +
drivers/accessibility/speakup/spk_types.h | 2 +-
drivers/accessibility/speakup/varhandlers.c | 1 +
6 files changed, 72 insertions(+), 16 deletions(-)
--
2.38.1
next reply other threads:[~2022-11-15 9:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-15 9:48 Mushahid Hussain [this message]
2022-11-15 9:48 ` [PATCHv2 1/2] accessibility: speakup: Specify spk_vars among module parameters Mushahid Hussain
2022-11-15 9:48 ` [PATCHv2 2/2] accessibility: speakup: phonetic spelling while arrowing letter by letter Mushahid Hussain
2022-11-15 10:00 ` Samuel Thibault
-- strict thread matches above, loose matches on Subject: below --
2022-11-15 10:05 [PATCHv2 0/2] default driver params and phonetic spelling while arrowing Mushahid Hussain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221115094812.81632-1-mushi.shar@gmail.com \
--to=mushi.shar@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=okash.khawaja@gmail.com \
--cc=samuel.thibault@ens-lyon.org \
--cc=speakup@linux-speakup.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox