Show
Ignore:
Timestamp:
06/14/07 04:16:11 (6 years ago)
Author:
dsmith <dsmith@…>
Children:
bd4c9bdfca9e847cf6c0bc77ce98f90785eff251
Parents:
a09a4eea431c232fa82b3b1a9a728c8b07345d4f
git-author:
L. Donnie Smith <donnie.smith@…> (06/14/07 04:16:11)
git-committer:
dsmith <dsmith@…> (06/14/07 04:16:11)
Message:

merged branches/dev into trunk

git-svn-id: http://abstrakraft.org/cwiid/svn/trunk@125 918edb2d-ff29-0410-9de2-eb38e7f22bc7

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wminput/conf.h

    r805477a r49e0132  
    1616 * 
    1717 *  ChangeLog: 
     18 *  2007-06-05 L. Donnie Smith <cwiid@abstrakraft.org> 
     19 *  * refactored to isolate plugin logic 
     20 * 
     21 *  2007-06-01 L. Donnie Smith <cwiid@abstrakraft.org> 
     22 *  * added python plugin support 
     23 * 
    1824 *  2007-04-09 L. Donnie Smith <cwiid@abstrakraft.org> 
    1925 *  * updated for libcwiid rename 
     
    133139}; 
    134140 
     141enum plugin_type { 
     142        PLUGIN_C, 
     143        PLUGIN_PYTHON 
     144}; 
     145 
    135146struct plugin { 
    136147        char *name; 
     148        enum plugin_type type; 
     149        uint8_t rpt_mode_flags; 
    137150        struct wmplugin_info *info; 
    138         void *handle; 
    139         wmplugin_init_t *init; 
    140         wmplugin_exec_t *exec; 
    141         uint8_t rpt_mode_flags; 
     151        struct wmplugin_data *data; 
    142152        uint16_t prev_buttons; 
    143153        struct btn_map bmap[WMPLUGIN_MAX_BUTTON_COUNT]; 
    144154        struct axis_map amap[WMPLUGIN_MAX_AXIS_COUNT]; 
     155        void *p; 
    145156}; 
    146157