filename | src/maple/controller.c |
changeset | 450:207461e79f21 |
prev | 429:e581b90c3fb3 |
next | 451:50622730f226 |
author | nkeynes |
date | Wed Oct 17 11:26:45 2007 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Split config management out to config.[ch] Manage config filename Check home dir + sysconfdir for conf file Initial work on a path settings dialog |
file | annotate | diff | log | raw |
1.1 --- a/src/maple/controller.c Mon Oct 08 11:52:13 2007 +00001.2 +++ b/src/maple/controller.c Wed Oct 17 11:26:45 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: controller.c,v 1.6 2007-10-08 11:49:35 nkeynes Exp $1.6 + * $Id: controller.c,v 1.7 2007-10-17 11:26:45 nkeynes Exp $1.7 *1.8 * Implements the standard dreamcast controller1.9 *1.10 @@ -29,14 +29,14 @@1.11 void controller_detach( maple_device_t dev );1.12 void controller_destroy( maple_device_t dev );1.13 maple_device_t controller_new();1.14 -dreamcast_config_entry_t controller_get_config( maple_device_t dev );1.15 +lxdream_config_entry_t controller_get_config( maple_device_t dev );1.16 int controller_get_cond( maple_device_t dev, int function, unsigned char *outbuf,1.17 int *outlen );1.19 typedef struct controller_device {1.20 struct maple_device dev;1.21 uint32_t condition[2];1.22 - struct dreamcast_config_entry config[CONTROLLER_CONFIG_ENTRIES];1.23 + struct lxdream_config_entry config[CONTROLLER_CONFIG_ENTRIES];1.24 } *controller_device_t;1.26 struct maple_device_class controller_class = { "Sega Controller", controller_new };1.27 @@ -119,7 +119,7 @@1.28 }1.29 }1.31 -dreamcast_config_entry_t controller_get_config( maple_device_t mdev )1.32 +lxdream_config_entry_t controller_get_config( maple_device_t mdev )1.33 {1.34 controller_device_t dev = (controller_device_t)mdev;1.35 return dev->config;
.