From b8c33fc248ff56b15bfc4f1e74ac1240670d7173 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 21 Nov 2011 16:39:31 +0800 Subject: add chewing_table.h.in --- scripts/chewing_table.h.in | 27 +++++++++++++++++++++++++++ scripts/genbopomofoheader.py | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 scripts/chewing_table.h.in (limited to 'scripts') diff --git a/scripts/chewing_table.h.in b/scripts/chewing_table.h.in new file mode 100644 index 0000000..de8247f --- /dev/null +++ b/scripts/chewing_table.h.in @@ -0,0 +1,27 @@ +/* This file is generated by python scripts. Don't edit this file directly. + */ + +#ifndef CHEWING_TABLE_H +#define CHEWING_TABLE_H + +namespace pinyin{ + +const chewing_scheme_item_t chewing_standard[] = { +@STANDARD@ +}; + +const chewing_scheme_item_t chewing_ginyieh[] = { +@GINYIEH@ +}; + +const chewing_scheme_item_t chewing_eten[] = { +@ETEN@ +}; + +const chewing_scheme_item_t chewing_ibm[] = { +@IBM@ +}; + +}; + +#endif diff --git a/scripts/genbopomofoheader.py b/scripts/genbopomofoheader.py index 94caedc..a1ffabc 100644 --- a/scripts/genbopomofoheader.py +++ b/scripts/genbopomofoheader.py @@ -40,7 +40,7 @@ bopomofo_keyboard = { "6","3","4","7", ), #精業注音鍵盤 - 'GIN_YIEH': + 'GINYIEH': ( "2","w","s","x","3","e","d","c","r","f","v","t","g","b","6","y","h","n","u","j","m", "-","[","'","8","i","k",",","9","o","l",".","0","p",";","/","=", -- cgit