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 8215757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:53:36+00:00 2026-06-07T11:53:36+00:00

Using OpenTK , I’m having issues with the Keyboard State. I’m trying to use

  • 0

Using OpenTK, I’m having issues with the Keyboard State. I’m trying to use Keyboard.GetState() but it fails.

Basically what I’m trying to achieve is a single ‘click’. Because the state-check is in UpdateFrames, the checks are milliseconds apart, meaning a single keypress will trigger the event multiple times.

I dont want to use KeyRepeat.False because I still want keys like W, S, A, and D to update per frame. I just want some of the keys to be single-checked

  • 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-07T11:53:38+00:00Added an answer on June 7, 2026 at 11:53 am

    for now I switched to XNA to handle input, as I dont think th OpenTK input is fully developed yet. much easier on that side, just set up a KeyboardState and test the state of the last from with the current one. if they aren’t the same, the button was just pushed.

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

Sidebar

Related Questions

I'm trying to use this GLWidget thing to develop using OpenTK and GTK#, it
I'm programming a computer game in C#/Mono using OpenTK library. I want to use
First off, I'm using OpenTK in a WPF application, but I think this is
I am writing my own engine using OpenTK (basically just OpenGL bindings for C#,
I'm trying to make a 2 persons video chat using OpenTok API , but
I am using WPF and OpenTk and I have a GLControl that is set
I'm currently using the automatic mipmap generation (C# + OpenTK): GL.GenerateMipmap(GenerateMipmapTarget.Texture2D); The texture I'm
Using linq2sql I'm trying to take the string in txtOilChange and update the oilChange
i am using C# (visual studio 2008) to develop a slot machine, using OpenTK
I am new to opengl and using C#, opentk for development. My Application is

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.