SDL_JoystickGetButton



SDL_JoystickGetButton

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

NAME

SDL_JoystickGetButton − Get the current state of a given button on a given joystick

SYNOPSIS

#include "SDL.h"

Uint8 SDL_JoystickGetButton(SDL_Joystick *joystick, int button);

DESCRIPTION

SDL_JoystickGetButton returns the current state of the given button on the given joystick.

RETURN VALUE

1 if the button is pressed. Otherwise, 0.

SEE ALSO

SDL_JoystickNumButtons



More Linux Commands

manpages/redrawwin.3ncurses.html
redrawwin(3ncurses) - refresh curses windows and lines......
The refresh and wrefresh routines (or wnoutrefresh and doupdate) must be called to get actual output to the terminal, as other routines merely manipulate data s

manpages/gnutls_x509_crq_set_key.3.html
gnutls_x509_crq_set_key(3) - API function - Linux man page
This function will set the public parameters from the given private key to the request. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negati

manpages/sasl_client_init.3.html
sasl_client_init(3) - SASL client authentication initializat
sasl_client_init() initializes SASL. It must be called before any calls to sasl_client_start. This call initializes all SASL client drivers (e.g. authentication

manpages/XMapWindow.3.html
XMapWindow(3) - map windows (Library - Linux man page)......
The XMapWindow function maps the window and all of its subwindows that have had map requests. Mapping a window that has an unmapped ancestor does not display th

manpages/pam_group.8.html
pam_group(8) - PAM module for group access - Linux man page
pam_group.8 - The pam_group PAM module does not authenticate the user, but instead it grants group memberships (in the credential setting phase of the authentic

manpages/asn1_delete_element.3.html
asn1_delete_element(3) - Deletes the element of a structure.
Deletes the element named * element_name inside * structure . RETURNS ASN1_SUCCESS if successful, ASN1_ELEMENT_NOT_FOUND if the element_name was not found. COPY

manpages/gpg-preset-passphrase.1.html
gpg-preset-passphrase(1) - Put a passphrase into gpg-agent's
The gpg-preset-passphrase is a utility to seed the internal cache of a running gpg-agent with passphrases. It is mainly useful for unattended machines, where th

manpages/msgsnd.2.html
msgsnd(2) - message operations (System - Linux man page)....
The msgsnd() and msgrcv() system calls are used, respectively, to send messages to, and receive messages from, a System V message queue. The calling process mus

manpages/Tcl_GetBignumFromObj.3.html
Tcl_GetBignumFromObj(3) - manipulate Tcl objects as integer
These procedures are used to create, modify, and read Tcl objects that │ hold integral values. │ The different routines exist to accommodate differe

manpages/XpGetPdmStartParams.3x.html
XpGetPdmStartParams(3x) - Builds up parameters in accordance
This request returns a zero status if an error occurred, non-zero otherwise. XpGetPdmStartParams is a convenience routine used to construct the necessary proper

manpages/gst-play-1.0.1.html
gst-play-1.0(1) Simple command line playback testing tool...
gst-play-1.0 is a command line tool that can be used to test basic playback using the playbin element. You can pass it individual files, URIs or whole directori

manpages/pamexec.1.html
pamexec(1) Execute a shell command on each image in a Netpbm
This program is part of Netpbm(1) pamexec reads a Netpbm image stream as input. For each image, it runs a specified shell command and supplies the image to it a





We can't live, work or learn in freedom unless the software we use is free.