Language Cursor
Shows the current keyboard layout as a small badge next to the mouse pointer, with a color, image or custom pointer for each language.
Author: Sanekx Arcs
Shows the current keyboard layout as a small badge next to the mouse pointer,
so you know which language you are about to type in before you press a key. It
follows the layout of the app you are working in.

Indicator modes
- Label next to pointer: a floating badge that follows the mouse pointer.
- Label inside text cursor: the label is drawn into the I-beam pointer that
Windows shows over text fields. This replaces the system I-beam pointer while
the mod is running.
- Off: no badge. Custom pointers per language still apply.
When the badge is shown
- Always.
- Only over text fields: while the pointer is an I-beam.
- Briefly after switching language: for a duration you choose.
With Show at the text caret while typing turned on, the badge moves next to
the text caret when you start typing, and goes back to the mouse pointer when
you move the mouse. This works in apps that report where their caret is.
It can also hide when the pointer is hidden and in full-screen apps. You can
set its position around the pointer, distance, font size, opacity, corner
roundness and drop shadow.
Caps Lock and Num Lock
The label can also show a mark while a lock key is on: ⇪ for Caps Lock and
# for Num Lock. Each one has its own setting. The marks are part of the text
label, so they aren't shown on badges that use an image.
Per-language styles
Add one entry per keyboard layout under Languages. Each entry can set:
- a label of up to 6 characters (by default the language code, such as
EN);
- a background color as hex RGB, such as
#FFB900;
- an image shown in place of the label (PNG, JPG, BMP or GIF, first frame);
- a custom mouse pointer (CUR or ANI) used while that layout is active.
The layout is identified by its locale, such as uk-UA, en-US, en-GB or
pl-PL, or by its HKL value as 8 or 16 hex digits. Layouts without an entry
get an automatic label and color. Paths may contain environment variables such
as %USERPROFILE%, and the files must stay available.
Custom pointers and safety
Custom pointers and the text-cursor mode change the Windows system pointers.
The mod restores the Windows pointer scheme when it is disabled or unloaded,
and on its next start if it was closed unexpectedly while pointers were
changed. To restore them by hand, open Windows Mouse settings > Pointers and
click Apply.
Restoring reloads the whole Windows pointer scheme, so pointers that another
mod or app changed at run time are reset too.
Performance
The mod runs in its own windhawk.exe process, not inside Explorer or other
apps, and installs no hooks. It checks
the pointer 60 times a second only while the badge is visible and the pointer
is moving, and slows down to about 8 checks a second when nothing is happening.
While the badge sits at the text caret, the mod also asks the app you are typing
in for its caret position 8 to 20 times a second.
Limitations
- The badge isn't shown over the secure desktop (UAC prompts, lock screen), and
may not appear over some full-screen games.
- Animated GIF images show only their first frame.
- Showing the badge at the text caret depends on the app. Some apps don't
report the caret position, and there the badge stays with the mouse pointer.
- Only over text fields and the text-cursor mode work with the standard
Windows I-beam pointer. Apps that draw their own text pointer are not
detected.
- The label I-beam in text-cursor mode is always black and white. It does not
follow a custom pointer color or scheme.