Diffstat (limited to 'libopie2/opiecore/oinputsystemenums.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/oinputsystemenums.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libopie2/opiecore/oinputsystemenums.h b/libopie2/opiecore/oinputsystemenums.h index 3461e5a..728423a 100644 --- a/libopie2/opiecore/oinputsystemenums.h +++ b/libopie2/opiecore/oinputsystemenums.h @@ -8,2 +8,3 @@ Miscellaneous = EV_MSC, + Switches = EV_SW, Leds = EV_LED, @@ -34,2 +35,14 @@ + enum Switch + { + Switch0 = SW_0, + Switch1 = SW_1, + Switch2 = SW_2, + Switch3 = SW_3, + Switch4 = SW_4, + Switch5 = SW_5, + Switch6 = SW_6, + Switch7 = SW_7, + }; + enum Key |