Re: is it possible to temporarily not let user mode get hid input event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Mon, Feb 24, 2014 at 1:34 PM, loody <miloody@xxxxxxxxx> wrote:
>> Yes. For instance, you can run ./samples/uhid/uhid-example.c via ssh
>> to emulate a mouse. ssh keyboard input can then be used to generate
>> mouse-movement events.
> There is one embarrassing question :-)
> Would you please let me know how to cross-compile it ?
> I try below commands but failed
> #cd samples/uhid/
> #make CROSS_COMPILE=arm-v7a8v4r2-linux-gnueabi-
> make: *** No targets.  Stop.
>
> Thanks for your kind help,

Don't use the Makefile. Use gcc directly:
  gcc -o uhid-example -Wall samples/uhid/uhid-example.c

It's just one source file, you should be able to compile it on the
device. No idea how your cross-compiler works, so cannot help you
there.

Thanks
David
--
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




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux