classpad_string 0.2.1

handle XCP files and strings for the Classpad fx-400
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! [`struct@UNICODE_MAP`] for bidirectional mapping between classpad character codes and unicode characters.
use bidir_map::{bidir_map, BidirMap};
use lazy_static::lazy_static;

lazy_static! {
    pub static ref UNICODE_MAP : BidirMap<usize, char> = {
        bidir_map!(
            259 => 'Â',
            260 => 'Ã',
            261 => 'Ä',
            // todo: huge number of character codes
            851 => '',
        )
    };
}