This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XkbGetDeviceButtonActions(3)                    XKB FUNCTIONS                   XkbGetDeviceButtonActions(3)



NAME
       XkbGetDeviceButtonActions - Query the button actions associated with an X Input Extension device

SYNOPSIS
       Status XkbGetDeviceButtonActions ( dpy, device_info, all_buttons, first_button, num_buttons )
             Display * dpy;
             XkbDeviceInfoPtr device_info;
             Bool all_buttons;
             unsigned int first_button;
             unsigned int num_buttons;

ARGUMENTS
       - dpy  connection to X server

       - device_info
              structure to update with results

       - all_buttons
              True => get information for all buttons

       - first_button
              number of first button for which info is desired

       - num_buttons
              number of buttons for which info is desired

DESCRIPTION
       XkbGetDeviceButtonActions  queries the server for the desired button information for the device indi-cated indicated
       cated by the device_spec field of device_info and waits for a reply. If successful,  XkbGetDeviceBut-tonActions XkbGetDeviceButtonActions
       tonActions  backfills  the button actions (btn_acts field of device_info) for only the requested but-tons, buttons,
       tons, updates the name, type, supported, and unsupported fields, and returns Success.

       all_buttons, first_button and num_buttons specify the device buttons  for  which  actions  should  be
       returned.  Setting  all_buttons  to  True  requests actions for all device buttons; if all_buttons is
       False, first_button and num_buttons specify a range of buttons for which actions are requested.

       If a compatible version of Xkb is not available in the server or the Xkb extension has not been prop-erly properly
       erly initialized, XkbGetDeviceButtonActions returns BadAccess. If allocation errors occur, a BadAlloc
       status is returned. If the specified device (device_info->device_spec) is invalid, a BadKeyboard sta-tus status
       tus  is  returned.  If  the device has no buttons, a BadMatch status is returned. If first_button and
       num_buttons specify illegal buttons, a BadValue status is returned.

DIAGNOSTICS
       BadAccess      The Xkb extension has not been properly initialized

       BadAlloc       Unable to allocate storage

       BadKeyboard    The device specified was not a valid core or input extension device

       BadMatch       A compatible version of Xkb was not available in the server or an argument has correct
                      type and range, but is otherwise invalid

       BadValue       An argument is out of range



X Version 11                                    libX11 1.2.1                    XkbGetDeviceButtonActions(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...