Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BHELP On-Line: CBRIEF Macro Help - set_mouse_action (mac_name) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
set_mouse_action (mac_name)

     Usage: Sets the name of the macro called to handle mouse events.
            This could have been called "assign_to_mouse", because it
            behaves just like an assign_to_key.  Mouse action handlers
            are associated with keyboards, so a new one must be named
            with every keyboard_push, and it is disposed of with
            keyboard_pop.  If you want to just inherit the current
            mouse action, then use inq_mouse_action BEFORE calling
            keyboard_push, then use set_mouse_action to attach it
            to the new keyboard.  The section on Mouse Event
            Processing in the manual has a few good examples of
            building mouse handlers.

            Mouse action macros receive up to 4 .ints. as parameters.
            See the Mouse Events table for details:

               mouse_action(event, modifier, parm2, parm3)

            event:      A mouse event type
            modifier:   Keyboard modifier flags
            parm2:      Depends on event type
            parm3:      Depends on event type

Parameters: Mac_name .string. is the name of the new mouse event
            handler.

   Returns: Nothing


See Also: inq_mouse_action inq_btn2_action set_btn2_action Mouse Events

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson