Mercurial > louis > kiibohd-controller
comparison Macro/PartialMap/usb_hid.h @ 341:66eccdd9ced5
Code cleanup
- Changing header file ifndef define to pragma once's
- Removed duplicate output_com.h's
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 14 Jun 2015 13:56:56 -0700 |
parents | 5fc9fa7419b4 |
children | 2268093deff4 |
comparison
equal
deleted
inserted
replaced
340:e8841d3c6db5 | 341:66eccdd9ced5 |
---|---|
17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
19 * THE SOFTWARE. | 19 * THE SOFTWARE. |
20 */ | 20 */ |
21 | 21 |
22 #ifndef __usb_hid_h | 22 #pragma once |
23 #define __usb_hid_h | |
24 | 23 |
25 // ----- Defines ----- | 24 // ----- Defines ----- |
26 | 25 |
27 // The USB codes are all taken from the USB HID Spec | 26 // The USB codes are all taken from the USB HID Spec |
28 // http://www.usb.org/developers/hidpage/Hut1_12v2.pdf (HID Usage Tables) | 27 // http://www.usb.org/developers/hidpage/Hut1_12v2.pdf (HID Usage Tables) |
771 #define AC_SPLIT 0x29A | 770 #define AC_SPLIT 0x29A |
772 #define AC_DISTRIBUTE_HORIZONTALLY 0x29B | 771 #define AC_DISTRIBUTE_HORIZONTALLY 0x29B |
773 #define AC_DISTRIBUTE_VERTICALLY 0x29C | 772 #define AC_DISTRIBUTE_VERTICALLY 0x29C |
774 // 0x29D-0xFFFF Reserved | 773 // 0x29D-0xFFFF Reserved |
775 | 774 |
776 | |
777 | |
778 #endif | |
779 |