Keyboard presses with 3 hc-sr04's

Hello everyone. I want to design a project for my father. The goal is pressing the arrow up, right, left keys with hc-sr04 sensors. I have Arduino Uno but couldn't figure out atlibusbdfu.dll not found error and tried everything. So I was thinking of buying Leonardo for Keyboard.h library. My father loves videogames as I do but he can only use one arm and one leg due to a tragic accident. I am planning to use hc-sr04 sensors to detect his foot movements. I am open to any suggestions such as 3 sensor circuit diagrams or do they even work at the same time or can I even do this project with Arduino Leonardo and 3 hc-sr04 or any other projects for this kind of problem. Thank you everyone in advance. Merry Christmas.

that's dll error, not board error.
have you tried reinstall the program? if not work again
try use non installer arduino, arduino zip version
https://downloads.arduino.cc/arduino-1.8.13-windows.zip
that should be work,

Thank's for the reply but I tried what you said it's doesn't work. FYI the program is Atmel Flip. Anyway, I had already ordered the Arduino Leonardo. Do you have any suggestions on the project or sources for circuit diagram because I don't want to burn the sensors and don't have any knowledge on that topic but I'm confident with coding. Thank you again for your interest.

i’m not familiar with that program, since you’ll be using arduino why not using arduino IDE?
sorry OOT, let’s back to the track

here some good project documentation of using HCSR04 it cover the concept and the wiring

your 3 sensor wiring would be like these picture below

after you understand that example, you can see the more advance project

You may have unexpected problems with the code at the link shown above Interfacing of Multiple Ultrasonic Sensor With Arduino - The Engineering Projects.

The code

#define trigPin1 3
#define echoPin1 2
#define trigPin2 4
#define echoPin2 5
#define trigPin3 7
#define echoPin3 8

long duration, distance, RightSensor,BackSensor,FrontSensor,LeftSensor;

void setup()
{
Serial.begin (9600);
pinMode(trigPin1, OUTPUT);
pinMode(echoPin1, INPUT);
pinMode(trigPin2, OUTPUT);
pinMode(echoPin2, INPUT);
pinMode(trigPin3, OUTPUT);
pinMode(echoPin3, INPUT);
}

void loop() {
SonarSensor(trigPin1, echoPin1);
RightSensor = distance;
SonarSensor(trigPin2, echoPin2);
LeftSensor = distance;
SonarSensor(trigPin3, echoPin3);
FrontSensor = distance;

Serial.print(LeftSensor);
Serial.print(" - ");
Serial.print(FrontSensor);
Serial.print(" - ");
Serial.println(RightSensor);
}

void SonarSensor(int trigPin,int echoPin)
{
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;

}

The code (which is too big and badly-written) pings continuously - a delayed return from a distant reflection may confuse the next sensor in the sequence.

Uncompiled, untested

const int N_SENSORS = 3;
const byte trigEchoPins [N_SENSORS][2] = { {2, 3}, {4, 5}, {7, 8}}; // Note: I swapped pins 2 and 3 for consistency

void setup()
{
  Serial.begin (115200);
  for (int i = 0; i < N_SENSORS; i++ ) {
    pinMode( trigEchoPins [i][0], OUTPUT);
    digitalWrite (trigEchoPins [i][0], LOW);
    pinMode(trigEchoPins [i][1], INPUT);
  }
}

void loop() 
{
  for (int i = 0; i < N_SENSORS; i++ ) {
    unsigned long range =  sonarSensor(i);
    delay (25); // limit the ping rate!
    Serial.print (F("Index: "));
    Serial.print (i);
    Serial.print (' ');
    Serial.println (range);
  }   
}

long sonarSensor (int index)
{
  digitalWrite(trigEchoPins [index][0], HIGH);
  delayMicroseconds(10);
  digitalWrite(trigEchoPins [index][0], LOW);
  return (pulseIn(trigEchoPins [index][1], HIGH) / 2) / 29.1;
}

Thank you guys both. You are life saviors. I will do these as soon as my Arduino comes and post the outcome. Again I really appreciate it.