Article View: comp.windows.x
Article #8133Checking for existence of mouse buttons/keys
From: Josh Marantz
Date: Tue, 15 Sep 1992 20:51
Date: Tue, 15 Sep 1992 20:51
12 lines
1001 bytes
1001 bytes
>der Mouse (dm) writes: >...Printing a message like "I can't run on a >server with only 2 buttons on the pointer" and dying is better than >running crippled due to needing a nonexistent third button. (Usually. >I would want any such program to have a switch saying "I know what I'm >doing; run anyway.".) Not checking and then depending on the presence >of those buttons is IMO a bug. By the way, how do you query X to see how many mouse butons are actualy present? For that matter, can you detect if certain keys on the keyboard are present (I guess that means, are any keycodes bound to specific keysyms?)
Technical Details
Message-ID:
<1992Sep15.205147.1033@viewlogic.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!viewlog.viewlogic.com!joshShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.x Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!viewlog.viewlogic.com!josh From: josh@viewlogic.com (Josh Marantz) Subject: Checking for existence of mouse buttons/keys Message-ID: <1992Sep15.205147.1033@viewlogic.com> Sender: news@viewlogic.com Nntp-Posting-Host: hari Organization: Viewlogic Systems, Inc. Date: Tue, 15 Sep 1992 20:51:47 GMT Lines: 13