platformer – Data exchange between custom hardware and games

One option, under Windows, as far as I could find, is to implement a force feedback device driver. You must implement a registry in the system a dll with a COM object that implements IDirectInputEffectDriverand register the CLSID in:

HKEY_LOCAL_MACHINE System CurrentControlSet Control MediaProperties PrivateProperties Joystick OEM

Then you would set the forced return with your device in the game.

See Forced Return Device Driver Interface.


I find the documentation missing and I have not found any sample code.

hardware – How secure is a Mac when it goes with Apple Diagnostics?

Recently, I brought my MacBook Air to Genius Bar to perform a new MacOS installation. For security reasons, I also asked for a hardware check. The Genius Bar technician runs Apple Diagnostics, claiming that the test can check if the hardware components of my computer have been tempered.

Once the test was completed, a list of information about the components appeared on the technician's iPad (which I did not read). He went through all the elements and concluded that my computer was secure in terms of hardware changes.

I would like to ask how good a Mac is when it goes on with Apple Diagnostics. For example, if an attacker disassembles my Mac and inserts a hardware keylogger, I doubt that the hardware test will check it.

Thank you in advance.

css – Hardware design and interface

Since I'm new to materials design, I'm going to have some clarifications

1) What is the material design? Common css material design framework?

2) difference between the hardware design and the hardware interface? The hardware user interface is used only in reaction?

3) In html to implement bootstrap, I will include an external bootstrap link to my header, as it is wise, there is no option to implement a hardware user interface in html.

4) I like abbreviated dialing in the hardware user interface, how to use it in my HTML

https://material-ui.com/components/speed-dial/

Thank you in advance.

Hardware – Do video cards store personal information? Should they be destroyed by getting rid of them?

I realize that this question seems a little ridiculous, but I thought it could not really hurt to ask. I'm trying to get rid of some of my old computers and I know I have to destroy the hard drives.

Keeping this in mind, I also need to get rid of an AMD Radeon graphics card that came with a Dell PC that I bought in 2012. It is quite large and this idea trots at me. 39; mind. Could this also contain some of my personal information? Should I destroy this with my old hard drives?

c ++ – Linux separating the hardware driver from the main application

I have created a program in Raspberry Pi 2B + (with Raspbian Lite) that communicates with a LoRa module (RFM95), collects data from a sensor and places it in a sqlite3 database.

My main application will consist of a network of more than 10 to 15 sensors.

I am thinking of separating the driver, the code that speaks with the hardware module, from the main application that uses the packages.

I do not know much about Linux, but I'm considering something with files, like an "input" file that contains bytes that the driver would take in the air and an "output" file in which the main application would write packages. sent from the hardware module using the driver.

Is it a good idea?

my current job is in C ++.

hardware – Charging problem from Y-cables that seems to be made to be loaded

I'm using a Samsung Galaxy S5 in a robot. Keeping the batteries of robots and phones charged is a constant problem. I have therefore acquired a set of Y-Micro USB3 to USB A cable cables in the hope of charging the phone from an integrated power bank while running the robot.

Multiple charging sources work properly with normal (non-Y) charging cables. However, none of the many Y cables can charge the phone … It does not matter if the data cable is connected. When the phone is off, I can switch directly from a reliable charging station to the phone using the charging part of a Y cable and it fails. All I get is the periodic image of the empty battery on the screen when it starts to attempt to charge itself. Then the load stops as if it detected a problem.

Some of the cables I've tried are:
https://www.amazon.com/gp/product/B07N7WTW15/
https://www.amazon.com/gp/product/B00P0C4M5M/
https://www.amazon.com/gp/product/B005M0ICG2/
https://www.newegg.com/p/0J2-00A7-000M7?Item=9SIA86V3E17988

Can someone explain why this does not work? And more importantly, is there a solution?

Thank you in advance.

dnd 5th – Does the Clone spell require hardware components to be cast on a zealot barbarian?

The clone is cast before the death of your character.

Cloning spell components are always needed

Clone (edited for brevity)

This spell grows an inert copy of a living being like a
protect against death. This clone forms in a sealed vessel and
reaches its size and maturity after 120 days; you can also choose from
have the clone be a younger version of the same creature.

At any time after the clone, if the original creature dies,
his soul is transferred to the clone, provided that the soul is free and
ready to come back.

Raise Dead, and similar spells, are cast after the death of the character. The clone still needs its components to be launched, since the barbarian is alive at the time of casting the clone.

Barbarian Zealot Elemental Element
At the 3rd level, your soul is marked for an endless battle. If a spell, such
like Raise Dead, has the only effect of giving you back your life (but no
undead), the launcher does not need hardware components to launch the
go out on you.

This is a sufficient distinction for the barbaric trait (zealot) not to render the theoretical content of the clone's material component. (The clone is more complex than "has the only effect of bringing you to life" because the clone can (and must) exist for a long time as long as the player's character is alive).

Linux file system for hardware RAID

I was researching the file system to use on my new SSD Hardware RAID 10 server. I plan to install Ubuntu Server 18.04.
Is it better to stick to the EXT4 file system because it is the default setting for Ubuntu?

I saw an old comment from a user on an online forum, that he never used EXT4 on RAID10. But the publication does not mention why, nor the preferred file system.

XFS is considered a more efficient / scalable file system. But I do not see huge differences in performance between EXT4 and XFS, in the benchmark results published online. I'm also considering ZFS, but read that ZFS is not recommended for database servers.

1. Is there a disadvantage to using EXT4 on RAID10?
2. Would it be better to use EXT4 only for the root file system (and the database), but XFS / ZFS for storing data?
3. Does the control functionality in ZFS cause significant overhead and slow down write performance?

unit – How to change the player's hardware with the hardware property block?

I can change the material of my game objects with a block of material properties like this:

                    var block = new MaterialPropertyBlock ();

block.SetColor ("_ BaseColor", Color.grey);

for (int i = 0; i <Walls.Length; i ++)
{
Walls[i].gameObject.GetComponent() .SetPropertyBlock (block);
}

But when I try to do that on my reader:

                                block.SetColor ("_ BaseColor", Color.white);
player.transform.GetChild (0) .gameObject.GetComponent() .SetPropertyBlock (block);

it does not work.

Here are the images that explain "why I wrote (getchild) instead of trying to change the contents of my player just by using player.gameObject"and" why I used GetComponent instead of GetComponent"

http://prntscr.com/nu0fwu (I created this character by myself and I faked it with mixamo)

http://prntscr.com/nu0go1 (this is the component of the "cube")

Minimum hardware required for BGP and switching

I'm trying to configure 3 servers behind a BGP session. The uplink will be protected against 1Gbps DDoS attacks with the default BGP table. We will announce an IPv4 and IPv6 prefix.

Is there a recommended device for routing and switching? Sometimes we may need to use certain rules. Anyone can please advise low-end devices for this.