I'm trying to figure out the best way to intercept some keyboard commands without installing any software on a machine.
Im basically wanting to send a trigger (on / off) via bluetoothLE to a device when the space bay is pressed on the keyboard. Without installing software.
I'm thinking that i can intercept all key strokes by plugging the keyboard into the pi, and then forward them on to the computer via another cable? While then sending blue bluetoothLE via the pi.
Can anyone help me out with this, is it possible how I'm imagining it?
Related
Is there any smart device that can do the following:
It connects to PC like "normal mouse" via USB. And computer detects it like normal mouse.
It can directly connect via the Internet to another mouse and receive signals from it and control the PC like a normal mouse. And it would be great if no apps needs to be installed to PC.
Team viewer, hamachi and similar apps is not a solution because this apps are not allowed to use in my PC for work. This apps can be detected by security apps like Mobi Control/ Forcepoint Dlp etc. And they need system settings to be changed.
And i have the same question for keyboard.
so - I have a bunch of different machines that I switch between using a usb switcher, and have a bunch of things like mouse, keyboard, camera, other monitors etc hanging off the USB - but the computers are all directly plugged into the big main monitor in various different ways.
I've written stuff in swift and c# for the various machines that detects the usb disconnection and turns off the main screen, and that works great, so it automatically flips to whatever new machine I've moved to - but with my mac laptop I've decided I want to keep the laptop screen as like a second machine and keyboard. The problem is - there's a hdmi connection to the big monitor - and I need the mac to stop sending hdmi, because the screen is now owned by someone else - so I suddenly want the mac limited to the laptop.
On windows it would be easy - you just disable the device, then re-enable it when the docking usb comes back - but I don't know how to do the same thing on the mac. Even from the display settings ui, I can't seem to say "don't use this monitor" - I can say "mirror the laptop display" - which may be good enough, but even that I don't know how to do from code.
so the actual question:
how do I programatically "remove" and then later "attach" a hdmi monitor
and set it as the main display
if that's not possible, how do I
programatically switch a monitor between mirroring and not mirroring
Ideally in swift, but python is also viable.
At the moment I literally have to pull out the HDMI from the laptop and then plug it in each time... which is not ideal.
I'm currently working on a project that uses raspberry pis to communicate with WebRTC. I want one pi to initiate a call with the press of a single button for emergency purposes. Initiating the call means, waking up, opening a browser full screen and starting the call. The problem is that Chromium has a pop up that asks if you want to allow the microphone and camera to be accessed by the browser. I would like to always allow this but the address is a local file and not a site I can add to Chromium's trusted list. Is there a way to circumvent this? Is there another browser I can trust to run quickly on a raspberry pi?
Thanks for your time!
"have you tried starting chrome with --use-fake-ui-for-media-stream? Caveat: will allow camera without prompt for everything – Philipp Hancke 19 hours ago" -first comment
Thanks!
Hello I am trying to work out how to set kodi up on my smart TV. My main problem lies with the TV being on the wall in another room too far away from power sources. She has sky installed and that was situated in the other room and with a HDMI lead fed under to floorboards to the other room by a professional someone or other. I am unable to feed another HDMI lead along the line.
Is there a way I could connect kodi by some other means to the TV? I am not really up on these things.
At the moment I have the kodi box in another room and I have to switch the sky lead to the kodi box to use. Also this means you have to be in the other room.
Can anyone suggest a way for me to get kodi working on the tv and be able to operate it via remote control?
I use Kodi on all of my TVs through an amazon fire stick. Most smart TVs have a USB on the back of the TV that can power the fire stick while its plugged into the HDMI so you wouldn't have to worry about power. I have a Sony bravia that will control the fire stick as long as I am on the input the fire stick is plugged into so no need for an additional remote.
To start off this is the wrong place to ask. This is a Q and A platform for programming questions and coding related questions.
To give you an answer though because I'm not a dick the best way to do it would be using a NAS. You would have two Kodi boxes but one media store.
I'm not sure which device do you use.
In my case, I installed Kodi on my Raspberry Pi(RPi) and TV and RPi are connected with HDMI. My TV is Samsung SmartTV, which supports HDMI-CEC. So, RPI can get RCU Key input from TV.
(HDMI-CEC allows devices connected to your TV through HDMI ports to communicate back and forth with your TV. )
In addition, you can customize keymaps for remotes in GUI by using the community Keymap Editor add-on.
https://kodi.wiki/view/Keymap
Check your TV supports HDMI-CEC, first.
So various people around my house have been stealing my mouse and I was wondering if I could store a program on the mouse which runs whenever it's plugged in, asking you for a password. I know you can run a program stored on a computer when a device is inserted into a USB slot but that means I can't stop people using my mouse if the specific laptop he's using hasn't got the program installed.
Also, if this was possible, what language would use? I would like it to work on windows, linux and OSX to cover all bases.
Thanks for any help!