DMXAddInput(3)


NAME

   DMXAddInput,  DMXAddBackendInput,  DMXAddConsoleInput  -  attach  a new
   input

SYNOPSIS

   #include <X11/extensions/dmxext.h>

   Bool DMXAddInput(Display *dpy,
                    unsigned int mask,
                    DMXInputAttributes *attr,
                    int *id);
   Bool DMXAddBackendInput(Display *dpy,
                           int screen,
                           int sendsCore,
                           int *newId);
   Bool DMXAddConsoleInput(Display *dpy,
                           const char *name,
                           int sendsCore,
                           int *newId);

DESCRIPTION

   DMXAddInput() is used to attach a new input (or a  previously  detached
   input)  to  the Xdmx(1) server.  mask specifies the fields in attr that
   are active, and id returns the device if of the  first  device  in  the
   series that is added.

   The value of mask is computed from the following values:

   DMXInputType
   DMXInputPhysicalScreen
   DMXInputSendsCore

   The DMXInputAttributes structure is:

   typedef struct {
       DMXInputEnum inputType;
       int          physicalScreen;
       int          physicalId;
       Bool         isCore;
       Bool         sendsCore;
       const char   *name;
       Bool         detached;
   } DMXInputAttributes;

   inputType     may    have    the    value    DMXConsoleInputType     or
   DMXBackendInputType .

   For console devices, name will specify the display to be used.

   For back-end devices, physicalScreen will specify  the  Xdmx(1)  screen
   number.

   If  sendsCore  is  True,  the  new  device will be added as a true core
   device.

   If a device was removed with DMXRemoveInput(3) an attempt will be  made
   to reconnect the previous devices (sendsCore is ignored in this case).

   DMXAddBackendInput()  is  a  helper  function that is used to add input
   from a back-end server.  With this function, screen refers to the back-
   end  screen, sendsCore is True if the new input should send core events
   (and it ignored if the input has been detached), and  newId  will  hold
   the device id of the first device in the series added.

   DMXAddConsoleInput()  is  a  helper  function that is used to add input
   from a console.  With this function, name is the name  of  the  console
   display,  sendsCore  is  True  if the new input should send core events
   (and it ignored if the input has been detached), and  newId  will  hold
   the device id of the first device in the series added.

RETURN VALUE

   DMXAddInput() returns True on success and False otherwise.

   DMXAddInput()  can  generate  BadValue  (if  inputType  is  invalid  or
   physicalScreen is out of range), BadAccess (if the  input  has  already
   been attached or if the backend screen is currently detached).

NOTES

   Local devices cannot be attached or detached.

   Attributes  that are not specified will default to 0.  This may lead to
   unintended results.

SEE ALSO

   DMXRemoveInput(3), DMX(3), Xdmx(1)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.