HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

3 of 6: Capturing key presses and moving a button on a panel tutorial

200 views October 26, 2015 5:45

Watch on YouTube
ChannelGraham Roberts

Description from the creator

How to capture key presses in Java and move a button around a panel tutorial in 6 parts

About this tutorial

Graham Roberts published this 5:45 video tutorial on October 26, 2015. It has been watched 200 times on YouTube.

Category
Education
Duration
5:45
Published
October 26, 2015
Views
200
Likes
4

Tags

Share

Further reading

  • MonoGame Tutorial: Handling Keyboard, Mouse and GamePad Input ... gamefromscratch.com

    If it isn’t this is a new key press and we respond accordingly. In the above example on Left or Right arrow presses, we only respond to new key presses, so moving left or right requires repeatedly hitting and releasing…

  • Using a push button with Raspberry Pi GPIO | Raspberry Pi HQ raspberrypihq.com

    A great starter hardware project using the Raspberry Pi is hooking up a simple tactile switch to the Raspberry GPIO and detecting button presses in Python. This guide will guide you through setting up the circuit with t…

  • python - pygame - Key pressed - Stack Overflow stackoverflow.com

    @user1688175 I don't think so because the OS sends key presses to the window that has focus. You aren't trying to create a key logger are you? a size of (1, 1) is the smallest since (0, 0) will give you full screen size…

This tutorial in other languages