Programing a minecraft controller

In the program that I have, switch 3 is 'w', and switch 1 is 's', but it only lets me move at a crawl. However, I think that it is because it is sending around about 100 inputs a second. How can I get it to send only 1?

Let's see your program so we know what you are talking about.
Please take note of the advice in read this before posting a programming question

In the program that I have ...

Which program would that be? Do you seriously want help with a program you haven't posted?

Please use code tags.

Read this before posting a programming question

How to use this forum

sorry, I thought that this might be a general problem. My code is currently not available, because I played around with it. It does currently work, but thanks for even posting. To both of you.

Here is the current code:

#include <Esplora.h>
int Spressed = 1;
int Wpressed = 1;

void setup()
{
  Serial.begin(9600);                            // initialize serial communication with your computer
  Mouse.begin();                                 // take control of the mouse
  Keyboard.begin();
}

void loop()
{
  int xValue = Esplora.readJoystickX();          // read the joystick's X position
  int yValue = Esplora.readJoystickY();          // read the joystick's Y position
  int moveS = Esplora.readButton(SWITCH_1);      // Read Buttons
  int button2 = Esplora.readButton(SWITCH_2);    // Read Buttons
  int moveW = Esplora.readButton(SWITCH_3);      // Read Buttons
  int button4 = Esplora.readButton(SWITCH_4);    // Read Buttons
  int space = Esplora.readJoystickButton();
  int e = Esplora.readSlider();
  if (Spressed = 1) {
    if(moveS == LOW) {
      Keyboard.press('s');
    }
  }
  if (moveS == HIGH) {
    Keyboard.release('s');
    Spressed = 0;
  }
  if(button2 == LOW) {
    Mouse.press(MOUSE_LEFT);                     // Left Click
  }
  else {
    Mouse.release(MOUSE_LEFT);
  }
  if (Wpressed = 1) {
    if(moveW == LOW) {
      Keyboard.press('w');
    }
  }
  if (moveW == HIGH) {
    Keyboard.release('w');
    Wpressed = 0;
  }
  if(button4 == LOW) {
    Mouse.press(MOUSE_RIGHT);                    // Right Click
  }
  else {
    Mouse.release(MOUSE_RIGHT);
  }
  if (space == LOW) {
    Keyboard.press(' ');
    Keyboard.release(' ');
  }
  if (e == 1023) {
    Keyboard.press('e');
    Keyboard.release('e');
  }
  int mouseX = (xValue/51.2)*-1;               // map the X value to a range of movement for the mouse X
  int mouseY = yValue/51.2;                    // map the Y value to a range of movement for the mouse Y
  Mouse.move(mouseX, mouseY, 0);               // move the mouse
  delay(10);                                   // a short delay before moving again
}

Sorry if it didn’t format correctly.

  if (Spressed = 1) {
...
  if (Wpressed = 1) {

No.