Changeset 9bdc85ae6abb47b8ef60e40acfb7a615a0747a3c

Show
Ignore:
Timestamp:
02/27/07 04:43:51 (6 years ago)
Author:
dsmith <dsmith@…>
Children:
c033b7a3b120e970c24a4d1411aa74474b794f9c
Parents:
d372b079b501b1fea934c990aaaed85fde5571f2
git-author:
L. Donnie Smith <donnie.smith@…> (02/27/07 04:43:51)
git-committer:
dsmith <dsmith@…> (02/27/07 04:43:51)
Message:

Prerelease documentation updates

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

Files:
6 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r0b00ea6 r9bdc85a  
     12007-02-26 L. Donnie Smith <wiimote@abstrakraft.org> 
     2        Changed installation directories to comply with FHS standard 
     3        Added check for yypop_buffer_state in flex 
     4        Various minor documentation changes 
     5        Lowercased "cwiid" in filenames 
     6 
     7        wiimote 
     8        * added 'static' to local function declarations 
     9 
     10        wminput 
     11        * added filenames and correct location tracking to parser error messages 
     12        * added 'static' to local function declarations (plugins) 
     13 
     142007-02-21 Romain Beauxis <toots@rastageeks.org> 
     15        wminput 
     16        * fixed help message 
     17 
    1182007-02-18 L. Donnie Smith <wiimote@abstrakraft.org> 
    219        wiimote 
  • NEWS

    r0b00ea6 r9bdc85a  
     10.5.01 
     2        - Bugfixes 
     3 
    140.5.00 
    25        - Overhauled wminput configuration 
  • README

    r573bcd0 r9bdc85a  
    3838sudo make install 
    3939 
    40 While CWiid is still in the early development stages, installation directories and filenames are changed more often than in a mature, stable package.  In order to prevent the collection of obselete directories and files, it is recommended that you run 'make uninstall && make uninstall_config' from your current CWiid source directory before installing a new one. 
     40While CWiid is still in the early development stages, installation directories and filenames are changed more often than in a mature, stable package.  In order to prevent the collection of obselete directories and files, it is recommended that you run 'make uninstall && make uninstall_config' from your current CWiid source directory before installing a new one.  Files are currently installed to the following directories: /usr/local/{bin,etc,lib,lib/cwiid}.  Recently, but no longer, used directories include /usr/share/CWiid - this directory may be deleted. 
    4141 
    4242Many distributions do not have /usr/local/lib in the library search path, and on many of these same distributions, the library installation directory (as determined by autoconf) is /usr/local/lib, creating a problem when you try to run programs depending on libraries installed there. There are two clean ways to fix this: 
     
    4545 
    4646I prefer the second method since it keeps local software in the local directory where it should be, and it fixes the problem for every package using /usr/local/lib, not just CWiid.  Until someone offers a convincing argument for the omission of /usr/local/lib from /etc/ld.so.conf, I consider this to be a distribution bug, and method #2 above is the fix. 
    47  
    48 Previous versions of CWiid installed plugins and configuration files in /usr/local/lib/CWiid.  This directory is no longer used and may be deleted. 
    4947 
    5048Please report any compilation errors to <wiimote@abstrakraft.org>. 
  • configure

    r97c1a54 r9bdc85a  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.61 for CWiid 0.5.00. 
     3# Generated by GNU Autoconf 2.61 for CWiid 0.5.01. 
    44# 
    55# Report bugs to <wiimote@abstrakraft.org>. 
     
    575575PACKAGE_NAME='CWiid' 
    576576PACKAGE_TARNAME='cwiid' 
    577 PACKAGE_VERSION='0.5.00' 
    578 PACKAGE_STRING='CWiid 0.5.00' 
     577PACKAGE_VERSION='0.5.01' 
     578PACKAGE_STRING='CWiid 0.5.01' 
    579579PACKAGE_BUGREPORT='wiimote@abstrakraft.org' 
    580580 
     
    11921192  # This message is too long to be a string in the A/UX 3.1 sh. 
    11931193  cat <<_ACEOF 
    1194 \`configure' configures CWiid 0.5.00 to adapt to many kinds of systems. 
     1194\`configure' configures CWiid 0.5.01 to adapt to many kinds of systems. 
    11951195 
    11961196Usage: $0 [OPTION]... [VAR=VALUE]... 
     
    12531253if test -n "$ac_init_help"; then 
    12541254  case $ac_init_help in 
    1255      short | recursive ) echo "Configuration of CWiid 0.5.00:";; 
     1255     short | recursive ) echo "Configuration of CWiid 0.5.01:";; 
    12561256   esac 
    12571257  cat <<\_ACEOF 
     
    13501350if $ac_init_version; then 
    13511351  cat <<\_ACEOF 
    1352 CWiid configure 0.5.00 
     1352CWiid configure 0.5.01 
    13531353generated by GNU Autoconf 2.61 
    13541354 
     
    13641364running configure, to aid debugging if configure makes a mistake. 
    13651365 
    1366 It was created by CWiid $as_me 0.5.00, which was 
     1366It was created by CWiid $as_me 0.5.01, which was 
    13671367generated by GNU Autoconf 2.61.  Invocation command line was 
    13681368 
     
    49754975# values after options handling. 
    49764976ac_log=" 
    4977 This file was extended by CWiid $as_me 0.5.00, which was 
     4977This file was extended by CWiid $as_me 0.5.01, which was 
    49784978generated by GNU Autoconf 2.61.  Invocation command line was 
    49794979 
     
    50185018cat >>$CONFIG_STATUS <<_ACEOF 
    50195019ac_cs_version="\\ 
    5020 CWiid config.status 0.5.00 
     5020CWiid config.status 0.5.01 
    50215021configured by $0, generated by GNU Autoconf 2.61, 
    50225022  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
  • configure.ac

    re0b6f65 r9bdc85a  
    1 AC_INIT(CWiid,0.5.00,wiimote@abstrakraft.org) 
     1AC_INIT(CWiid,0.5.01,wiimote@abstrakraft.org) 
    22 
    33AC_PROG_CC 
  • wminput/README

    r489535c r9bdc85a  
    41411.Assign the key symbol in question to a button in a wminput configuration file. 
    42422.Use wminput and the wiimote to generate that key symbol, using xev to find out if the key symbol is already mapped, and find the key code if it is not. 
    43 3.If the code is not mapped to the appropriate symbol, edit ~/.Xmodmap, and use xmodmap to map them.  (A copy of my ~/.Xmodmap is included in CWiid/doc) 
     433.If the code is not mapped to the appropriate symbol, edit ~/.Xmodmap, and use xmodmap to map them.  (A copy of my ~/.Xmodmap is included in cwiid/doc) 
    44444.Use xbindkeys or a window manager-specific utility to map the key symbols to specific actions. 
    4545 
    4646CONFIGURATION FILES 
    4747------------------------------------------------------------------------------------------------ 
    48 Configuration files are installed in /usr/local/share/CWiid/wminput.  Configuration search directory order is ~/.CWiid/wminput, /usr/local/share/CWiid/wminput. 
     48Configuration files are installed in /usr/local/etc/cwiid/wminput.  Configuration search directory order is ~/.cwiid/wminput, /usr/local/etc/cwiid/wminput. 
    4949Configuration files specify the mapping of button and key symbols to wiimote buttons, and axis symbols to wiimote axes.  The grammar is as follows (words in angle brackets are to be replaced by appropriate values or strings, without the brackets): 
    5050 
     
    5959Classic.<button> = <button_symbol> 
    6060Plugin.<plugin>.<button> = <button_symbol> 
    61         Map the button or key symbol specified on the right-hand side to the button event specified on the left-hand side.  Button and key symbols are listed in /usr/include/linux/input.h (BTN_* and KEY_* macros), and in CWiid/wminput/action_enum.txt.  All valid wiimote, nunchuk, and classic buttons are listed in CWiid/doc/wminput.list. 
     61        Map the button or key symbol specified on the right-hand side to the button event specified on the left-hand side.  Button and key symbols are listed in /usr/include/linux/input.h (BTN_* and KEY_* macros), and in cwiid/wminput/action_enum.txt.  All valid wiimote, nunchuk, and classic buttons are listed in cwiid/doc/wminput.list. 
    6262 
    6363Wiimote.<axis> = [-][~]<abs_axis_symbol> | [-]<rel_axis_symbol> 
     
    6565Classic.<axis> = [-][~]<abs_axis_symbol> | [-]<rel_axis_symbol> 
    6666Plugin.<plugin>.<axis> = [-][~]<abs_axis_symbol> | [-]<rel_axis_symbol> 
    67         Map the axis symbol specified on the right-hand side to the axis event specified on the left-hand side.  Axis symbols are listed in /usr/include/linux/input.h (ABS_* and REL_* macros), and in CWiid/wminput/action_enum.txt.  All valid wiimote, nunchuk, and classic axes are listed in CWiid/doc/wminput.list.  A - before the axis symbol inverts the axis.  A ~ is usually required before an absolute axis symbol in order to use it for cursor movement. 
     67        Map the axis symbol specified on the right-hand side to the axis event specified on the left-hand side.  Axis symbols are listed in /usr/include/linux/input.h (ABS_* and REL_* macros), and in cwiid/wminput/action_enum.txt.  All valid wiimote, nunchuk, and classic axes are listed in cwiid/doc/wminput.list.  A - before the axis symbol inverts the axis.  A ~ is usually required before an absolute axis symbol in order to use it for cursor movement. 
    6868 
    6969Wiimote.Rumble = On | Off 
     
    8181nunchuk_acc - nunchuk accelerometer calculations.  Identical to acc, but using the nunchuk accelerometers. 
    8282 
    83 Plugins are by default installed in /usr/local/share/CWiid/plugins.  Plugin search directory order is ~/.CWiid/plugins, /usr/local/share/CWiid/plugins. 
     83Plugins are by default installed in /usr/local/lib/cwiid/plugins.  Plugin search directory order is ~/.cwiid/plugins, /usr/local/lib/cwiid/plugins. 
    8484 
    85 For developers, the plugin API is specified in CWiid/wminput/wmplugin.h.  The examples cover most of the functionality, except buttons, which are triggered by asserting the ith bit of the buttons element of struct wmplugin_data, where i is the index of the button. 
     85For developers, the plugin API is specified in cwiid/wminput/wmplugin.h.  The examples cover most of the functionality, except buttons, which are triggered by asserting the i^th bit of the buttons element of struct wmplugin_data, where i is the index of the button. 
    8686