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

- From: David Herrmann \<hidden\>
- Date: 2014-02-24 12:37:46 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2014/02/8923261
- Thread: https://ratatoskr.run/linux-input/2014/02/8923261/t.md

```text
Hi

On Mon, Feb 24, 2014 at 1:34 PM, loody [ref] 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-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
