Does Unity support the custom input? For example, touch screen and custom keyboard.
Can I write a Unity script to connect the custom hardware and Unity?
You can, but you will need Unity Pro and write a plugin to do so if its non-standard input
Thanks! What kind of lanuage can design the plugin? C++?
Anything that can communicate with the input device you want to talk to and that can compile unmanaged or managed code.
But yeah generally it will be C or C++ (more likely C though as drivers and low level stuff is plain C normally)
Thanks! Another big problem. Can I design a game in Unity(Windows XP) and build the game into Linux if my target OS is Linux?
The Linux maybe be Fedora or Red Hat.
Unity has no support for linux at all so the answer is no.
If it were for OSX then the answer would be: if you wrote a plugin for osx as well (.> bundle instead of dll), as such lowlevel code is heavily OS dependent and non managed code is not “automagically runnable” on other platforms at all.