Am Mittwoch, 20. April 2011, 08:05:57 schrieb Khachik Shahzadyan: > Hello! > I found your email in a kernel sources and i think that i can seek help to you) > I try to write a virtual joystick driver for my project, how can i do it? > Can i create only a char device (/dev/input/js0) > > with fops: {ioctl, write, read, open} > > or i need to create something like joydev.c ? > p.s. i have one application that must write moves to /dev/input/js0 > and other applications can read this events from it, and they does not > understand that it's a virtual joystick! There's the uinput subsystem for devices feeding back from user space http://thiemonge.org/getting-started-with-uinput HTH Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html