#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Nodoka - doten.nodoka
# Copyright (C) 1999-2005, TAGA Nayuta <nayuta@users.sourceforge.net>
#
# Modify by applet on 2010-03-29

# read keyboard define file.
if ( USE109 )
  include "109.nodoka"			# 109 keyboard setting
  if ( USE104on109 )
    include "104on109.nodoka"		# 109 to like 104 setting
  endif
else
  include "104.nodoka"			# 104 keyboard setting
  if ( USE109on104 )
    include "109on104.nodoka"		# 104 to like 109 setting
  endif
endif

if ( USEdefault )
  include	"default2.nodoka"	# like Emacs layout
endif


# Global keymap setting
keymap Global


# This setting is conviniense.
key C-A-D = &DescribeBindings 		# current key map describe to log.
key F1 = &SendPostMessage("PostTray",,"Nodoka", 0x0205, 0, 0)	# open Nodoka Menu


# Shif+F2: Toggle Japanese, English keyboard layout

if ( USE109 )
  if ( USE104on109 )
    key S-F2 => &IconColor(0) &HelpMessage("Reloaded", "Japanese 109 Keyboard") &LoadSetting("Japanese 109 Keyboard")
  else
    key S-F2 => &IconColor(2) &HelpMessage("Reloaded", "Japanese 109 Keyboard (104 Like)") &LoadSetting("Japanese 109 Keyboard (104 Like)")
  endif
endif
if ( USE104 )
  if ( USE109on104 )
    key S-F2 => &IconColor(0) &HelpMessage("Reloaded", "English 104 Keyboard") &LoadSetting("English 104 Keyboard")
  else
    key S-F2 => &IconColor(2) &HelpMessage("Reloaded", "English 104 Keyboard (109 Like)") &LoadSetting("English 104 Keyboard (109 Like)")
  endif
endif


# Your setting is here.

