Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8508191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:05:37+00:00 2026-06-11T03:05:37+00:00

bool m_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::M); bool up_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Up); bool down_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Down); bool left_down

  • 0
bool m_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::M);
bool up_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Up);
bool down_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Down);
bool left_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Left);
bool right_down = sf::Keyboard::isKeyPressed(sf::Keyboard::Key::Right);

This code is basically the only relevant code.

When I’m holding some other keys as the same time as M and a[n] arrow key[s], it seems to return false on m being pressed. (Even though it is)

I have no code manipulating it, breaking, etc, and would like some insight into why this is occurring if possible, and how to fix it.

If there is no way of fixing it, then can you advise me the best way to remake this function on my side using the event system?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T03:05:38+00:00Added an answer on June 11, 2026 at 3:05 am

    As per the comments, this link here explains that there is an inherent limitation of the keyboard. Most keyboards can only only register a certain number of key presses at any given time, and ignore any subsequent key presses until you release one or more of the current keys. This doesn’t apply to modifier keys (like Ctrl, alt, and shift) as those keys are treated specially (since they were intended to be used in tandem with other keys).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this code to simulate a space down/release event in Objective-C: CGEventRef CGEventCreateKeyboardEvent
I'm trying to do something like this: id synchronizerDelegate = [OCMockObject mockForProtocol:@protocol(SynchronizerDelegate)]; BOOL isRespondsToSelector
I'm wondering if this is good, bad? SelectRecipientResponse user = SomeUtil.SelectRecipient(p.Email, p.ListID.ToString()); bool userIsInList
How would I convert this kind of expression in VB.NET? I'm stomped! bool exists=repo.Exists<Post>(x=>x.Title==My
In my code I have: -(BOOL)textFieldShouldReturn:(UITextField*)theTextField{ if (theTextField == ITload) { [ITload resignFirstResponder]; return
Does anyone know why there is some hesitation when you hold down a keyboard
I'm trying to compile Objective-C code on Ubuntu 12 Linux. main.m looks like this:
So, I've wasted a bunch of time creating this really cool keyboard macro application.
is reading a bool an atomic action? if (value != true)//here I'm reading bool,
I'm using a method -(BOOL)textFieldShouldReturn:(UITextField*)textField; { NSInteger nextTag = textField.tag + 1; UIResponder* nextResponder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.