Changeset 9bdc85ae6abb47b8ef60e40acfb7a615a0747a3c
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r0b00ea6
|
r9bdc85a
|
|
| | 1 | 2007-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 | |
| | 14 | 2007-02-21 Romain Beauxis <toots@rastageeks.org> |
| | 15 | wminput |
| | 16 | * fixed help message |
| | 17 | |
| 1 | 18 | 2007-02-18 L. Donnie Smith <wiimote@abstrakraft.org> |
| 2 | 19 | wiimote |
-
|
r0b00ea6
|
r9bdc85a
|
|
| | 1 | 0.5.01 |
| | 2 | - Bugfixes |
| | 3 | |
| 1 | 4 | 0.5.00 |
| 2 | 5 | - Overhauled wminput configuration |
-
|
r573bcd0
|
r9bdc85a
|
|
| 38 | 38 | sudo make install |
| 39 | 39 | |
| 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. |
| | 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. 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. |
| 41 | 41 | |
| 42 | 42 | Many 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: |
| … |
… |
|
| 45 | 45 | |
| 46 | 46 | I 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. |
| 49 | 47 | |
| 50 | 48 | Please report any compilation errors to <wiimote@abstrakraft.org>. |
-
|
r97c1a54
|
r9bdc85a
|
|
| 1 | 1 | #! /bin/sh |
| 2 | 2 | # 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. |
| 4 | 4 | # |
| 5 | 5 | # Report bugs to <wiimote@abstrakraft.org>. |
| … |
… |
|
| 575 | 575 | PACKAGE_NAME='CWiid' |
| 576 | 576 | PACKAGE_TARNAME='cwiid' |
| 577 | | PACKAGE_VERSION='0.5.00' |
| 578 | | PACKAGE_STRING='CWiid 0.5.00' |
| | 577 | PACKAGE_VERSION='0.5.01' |
| | 578 | PACKAGE_STRING='CWiid 0.5.01' |
| 579 | 579 | PACKAGE_BUGREPORT='wiimote@abstrakraft.org' |
| 580 | 580 | |
| … |
… |
|
| 1192 | 1192 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1193 | 1193 | 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. |
| 1195 | 1195 | |
| 1196 | 1196 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| … |
… |
|
| 1253 | 1253 | if test -n "$ac_init_help"; then |
| 1254 | 1254 | 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:";; |
| 1256 | 1256 | esac |
| 1257 | 1257 | cat <<\_ACEOF |
| … |
… |
|
| 1350 | 1350 | if $ac_init_version; then |
| 1351 | 1351 | cat <<\_ACEOF |
| 1352 | | CWiid configure 0.5.00 |
| | 1352 | CWiid configure 0.5.01 |
| 1353 | 1353 | generated by GNU Autoconf 2.61 |
| 1354 | 1354 | |
| … |
… |
|
| 1364 | 1364 | running configure, to aid debugging if configure makes a mistake. |
| 1365 | 1365 | |
| 1366 | | It was created by CWiid $as_me 0.5.00, which was |
| | 1366 | It was created by CWiid $as_me 0.5.01, which was |
| 1367 | 1367 | generated by GNU Autoconf 2.61. Invocation command line was |
| 1368 | 1368 | |
| … |
… |
|
| 4975 | 4975 | # values after options handling. |
| 4976 | 4976 | ac_log=" |
| 4977 | | This file was extended by CWiid $as_me 0.5.00, which was |
| | 4977 | This file was extended by CWiid $as_me 0.5.01, which was |
| 4978 | 4978 | generated by GNU Autoconf 2.61. Invocation command line was |
| 4979 | 4979 | |
| … |
… |
|
| 5018 | 5018 | cat >>$CONFIG_STATUS <<_ACEOF |
| 5019 | 5019 | ac_cs_version="\\ |
| 5020 | | CWiid config.status 0.5.00 |
| | 5020 | CWiid config.status 0.5.01 |
| 5021 | 5021 | configured by $0, generated by GNU Autoconf 2.61, |
| 5022 | 5022 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
-
|
re0b6f65
|
r9bdc85a
|
|
| 1 | | AC_INIT(CWiid,0.5.00,wiimote@abstrakraft.org) |
| | 1 | AC_INIT(CWiid,0.5.01,wiimote@abstrakraft.org) |
| 2 | 2 | |
| 3 | 3 | AC_PROG_CC |
-
|
r489535c
|
r9bdc85a
|
|
| 41 | 41 | 1.Assign the key symbol in question to a button in a wminput configuration file. |
| 42 | 42 | 2.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) |
| | 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) |
| 44 | 44 | 4.Use xbindkeys or a window manager-specific utility to map the key symbols to specific actions. |
| 45 | 45 | |
| 46 | 46 | CONFIGURATION FILES |
| 47 | 47 | ------------------------------------------------------------------------------------------------ |
| 48 | | Configuration files are installed in /usr/local/share/CWiid/wminput. Configuration search directory order is ~/.CWiid/wminput, /usr/local/share/CWiid/wminput. |
| | 48 | Configuration files are installed in /usr/local/etc/cwiid/wminput. Configuration search directory order is ~/.cwiid/wminput, /usr/local/etc/cwiid/wminput. |
| 49 | 49 | Configuration 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): |
| 50 | 50 | |
| … |
… |
|
| 59 | 59 | Classic.<button> = <button_symbol> |
| 60 | 60 | Plugin.<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. |
| 62 | 62 | |
| 63 | 63 | Wiimote.<axis> = [-][~]<abs_axis_symbol> | [-]<rel_axis_symbol> |
| … |
… |
|
| 65 | 65 | Classic.<axis> = [-][~]<abs_axis_symbol> | [-]<rel_axis_symbol> |
| 66 | 66 | Plugin.<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. |
| 68 | 68 | |
| 69 | 69 | Wiimote.Rumble = On | Off |
| … |
… |
|
| 81 | 81 | nunchuk_acc - nunchuk accelerometer calculations. Identical to acc, but using the nunchuk accelerometers. |
| 82 | 82 | |
| 83 | | Plugins are by default installed in /usr/local/share/CWiid/plugins. Plugin search directory order is ~/.CWiid/plugins, /usr/local/share/CWiid/plugins. |
| | 83 | Plugins are by default installed in /usr/local/lib/cwiid/plugins. Plugin search directory order is ~/.cwiid/plugins, /usr/local/lib/cwiid/plugins. |
| 84 | 84 | |
| 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. |
| | 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 i^th bit of the buttons element of struct wmplugin_data, where i is the index of the button. |
| 86 | 86 | |