aboutsummaryrefslogtreecommitdiffstats
path: root/xpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpad.c')
-rw-r--r--xpad.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xpad.c b/xpad.c
index 231bdd9..472e40c 100644
--- a/xpad.c
+++ b/xpad.c
@@ -11,15 +11,16 @@
static int xpad_fd = 0;
-uint16_t xpad_fpad() {
+/* The F-PAD has to be:
uint16_t fpad = 0x2; // CI flag
if (xpad_len()) {
fpad |= 1<<13; // variable length X-PAD
}
- return fpad;
-}
+ which is included by mot-encoder in the file/fifo
+ it generates
+ */
int xpad_len() {
if (xpad_fd == 0) {