--- xinput.org	2005-01-23 23:47:17.009224339 +0900
+++ xinput	2005-01-23 23:47:17.009224339 +0900
@@ -109,10 +109,14 @@
 # WARNING: This binary should be in /usr/bin, not in /usr/X11R6/bin, because
 # /usr/X11R6/bin is strictly for software supplied as an official part of
 # X11R6, not for random applications to drop files in.
-	    if [ -x /usr/X11R6/bin/xwnmo ]; then
-		    XIM="_XWNMO"
-	    elif [ -x /usr/bin/uim-xim ]; then
-		    XIM="uim"
+#	    if [ -x /usr/X11R6/bin/xwnmo ]; then
+#		    XIM="_XWNMO"
+#	    elif [ -x /usr/bin/uim-xim ]; then
+#		    XIM="uim"
+            if [ -e /opt/atokx2/bin/atokx2_client.sh ]; then
+                    XIM="htt"
+            elif [ -e /usr/X11R6/bin/xwnmo ]; then
+                    XIM="_XWNMO"
 # WARNING: This binary should be in /usr/bin, not in /usr/X11R6/bin, because
 # /usr/X11R6/bin is strictly for software supplied as an official part of
 # X11R6, not for random applications to drop files in.
@@ -181,8 +185,10 @@
 	fi
 	;;
       htt)
-	XIM_PROGRAM=httx
-	;;
+#	XIM_PROGRAM=httx
+        . /opt/atokx2/bin/atokx2_client.sh
+        XIM_PROGRAM=/bin/true
+        XIM_ARGS="" ;;
       kinput2)
 	XIM_PROGRAM=kinput2
 	if [ -z "$XIM_ARGS" ]; then
