static char block_map[NUM_FACTORS];
#ifdef WITH_BRAILLE_DISPLAY
static const wchar_t *braille_map[NUM_FACTORS] = {
- L"⣀", L"⣀", L"⣤", L"⣤", L"⣶", L"⣶", L"⣿", L"🮐"
+ L"⣀", L"⣀", L"⣤", L"⣤", L"⣶", L"⣶", L"⣿", L"⣿"
};
#endif
int i = scale_ms_to_braille_factor(ms);
if ((unsigned)i >= 4)
- return L"🮐"; // this is the max
+ return L"⣿"; // max (U+28FF stays in BMP, safe on 16-bit wchar_t)
return braille_set[i];
}
int left_i = scale_ms_to_braille_factor(left_ms);
if ((unsigned)left_i >= 4)
- return L"🮐"; // this is the max
+ return L"⣿"; // max (U+28FF stays in BMP, safe on 16-bit wchar_t)
return braille_char_lookup(right_ms, braille_double_lookup[left_i]);
}