Mercurial > louis > kiibohd-controller
diff main.c @ 106:15961894eaeb
Adding basic CLI functionality.
- Supports multiple custom command dictionaries
- Basic handling of control characters
- Initial dictionary for integrated commands
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Wed, 22 Jan 2014 00:38:53 -0800 |
parents | 3764d78996a8 |
children | 59391aa888aa |
line wrap: on
line diff
--- a/main.c Sun Jan 19 16:54:58 2014 -0800 +++ b/main.c Wed Jan 22 00:38:53 2014 -0800 @@ -1,15 +1,15 @@ -/* Copyright (C) 2011-2013 by Jacob Alexander - * +/* Copyright (C) 2011-2014 by Jacob Alexander + * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -29,6 +29,7 @@ #include <scan_loop.h> #include <output_com.h> +#include <cli.h> #include <led.h> #include <print.h>