XFCE: automatically enable/disable touchpad depending on mouse presence - mouse

I'm using the latest XFCE4 under Linux. My laptop has a touchpad, but I only want it to be enabled if the USB mouse is not connected. I know how to manually control this, but I'd like to find a way for the touchpad to auto-disable when a USB mouse is plugged in and auto-enable when the USB mouse is disconnected.
I can't find anything in the XFCE4 settings that controls this.
Is there any way I can have this auto-enable/disable capability for the touchpad?
Thank you very much.

Related

Mac not detecting USB mouse

I've only been on OS X for 2 days! So I am pretty new.
Basically when I plugged in my Targus USB mouse it popped up that I was replacing the keyboard, it said if I wasn't then just to ignore the message and carry on, so I crossed it but my mouse isn't been detected by my Macbook Pro.
The red light on my mouse is on so it has power but I can't see anywhere where I can set it up, all I'm thinking is that I need a Mac specific mouse? I got this mouse with my Vista laptop but I assumed it would plug in and work on OS X?

Detecting if an external mouse is connected in Swift?

For an app I am making on macOS I want different behaviour for the trackpad vs. a mouse. Is there any way to check if an external mouse is connected (e.g via usb or bluetooth) to the mac in Swift? I.e the assumption will be that if an external mouse is connected then the user will be using that rather than the trackpad. If they have an external mouse connected but would like to use the trackpad as as a pointer then they can change this in a settings menu.

audio volume from external device

I am working on a device with a imx6 with yocto linux (krogoth). I use headsets with usb and they works fine. But now I have a headset where it is possible to change the volume with two buttons on the device. On my windows notebook the volume control in the software changes when i push one of the buttons. I also tested it with a ubuntu 20 and I see the control in the ALSA mixer when a button is pushed.
On my device I see no reaction. The sound volume changes in the headset when a button is pushed but in the ALSA mixer of the device there is no reaction. That is a big problem for my use case. Does anybody knows this problem and can help me. Do I need a special module or anything else?

How do I test the Air Tap gesture in Hololens Emulator?

I am building an Augmented Reality app for Hololens. I need to test the Air Tap Gesture, without deploying to the Hololens.
Is there any method to test the Air Tap functionality through the Hololens Emulator or the Holographic Emulation provided by Unity3D?
This will depend on your emulation environment:
Hololens Emulator (From Microsoft, allows multiple input devices)
Air tap gesture - Right-click the mouse, press the Enter key on your keyboard, or use the A button on an Xbox controller.
Windows Holographic Emulation (From Unity, requires game controller)
Perform a tap gesture with a
virtual hand - Left and right trigger buttons; the A button
Adding to the other answer. If you don't have a HoloLens this will not help but, if you do this will speed up development significantly.
On your HoloLens, download the Holographic Remoting App. Once it is downloaded open and run it and you will see your IP address for your HoloLens.
Now, go to the Unity editor -> Window tab -> Holographic Emulation. This will open a new window. For Emulation mode select remote device. Under Remote Machine enter the IP address. You can tinker with the other settings as you see fit.
Now with the Application running on your HoloLens click connect. Once you are connected the Unity editor will tell you and the HoloLens should go blank. Now when you press play on the editor the app will run on the HoloLens.
This does not download the app to your HoloLens and stops running when you stop the editor
If you are working in the Unity editor,
Shift + LMB (left-mouse-button) to simulate air-tap with the left
hand;
Space + LMB to simulate air-tap with the right hand.
Other useful points:
gaze can be controlled with the mouse by keeping RMB down. Also
q/w/e/a/s/d. (I know question was only about airtap, but they kind of
come together).
If you need to test typing some data with the standard keyboard, no
need to simulate airtap - just click with the mouse.

windows-ce usb touch driver does not get enumerated

I added usb touch screen driver to my custom win ce 6.0 OS image. The touch screen works only when there is another USB device(USB flash drive, usb mouse etc.) present in the system and does not work when there is only single usb touch screen is connected. After troubleshooting, I discovered that the USB touch device does not get enumerated. Any help resolving this issue is highly appreciated.