Michael Banther
1690c4eff6
Remove the USB HID Report descriptor with the Voice Command Usage.
...
This commit also contains a small amount of whitespace clean-up.
2019-10-08 13:45:20 +01:00
Michael Banther
75fea9ed84
Change the simulated interrupt pulse width from 100 us to 100 ms.
2019-10-08 13:44:04 +01:00
Michael Banther
34ebbc8509
Change the HID Report Descriptor to use the AC Search Usage instead of Voice Command.
2019-10-07 16:50:27 +01:00
Michael Banther
5b87efb5a7
Change the HID Report Descriptor to use the AC Search Usage instead of Voice Command.
2019-10-07 12:35:23 +01:00
larry
22323daa5f
Merge pull request #2 from michaelb/pendragon
...
HID -- Interrupt integration
2019-10-02 17:10:16 +01:00
Michael Banther
211a49f26f
Remove unnecessary port parameters passed through XUA Buffer (whether the traditional one or the Lite version).
2019-10-02 16:57:42 +01:00
Michael Banther
74564edde8
Add HID trigger function.
2019-10-02 16:55:42 +01:00
Michael Banther
e7e8b58275
Move user_hid.xc from lib_xua to the application (sw_xvf3510).
2019-10-02 16:54:38 +01:00
Michael Banther
ce24c73dc0
Change pre-processor symbol names to make them generic.
2019-10-02 16:51:46 +01:00
Michael Banther
0440020c2f
Change pre-processor symbol names to make them generic.
2019-10-02 15:24:28 +01:00
Michael Banther
17317093d5
Rework HID data processing.
...
Move port handling up into XUA_Buffer_lite2() to take advantage of its select operator. Add functions to initialise and set the HID data.
2019-10-01 17:04:13 +01:00
Michael Banther
2fb0bdfcc2
A slightly different way of saying the same thing.
...
I've changed to an if - else construct to make it easy to add in debugging print statements if needed.
2019-10-01 13:52:08 +01:00
Michael Banther
d32235d0f0
Final clean-up of HID -- NDP10x Interrupt integration.
2019-10-01 11:57:54 +01:00
Michael Banther
e1b72c47bc
Add a version of UserReadHIDData() which uses a signal on a port to set the Voice Command bit in the HID Report data.
...
This commit preserves the ability to simulate the NDP100 entirely, i.e. without using a port for input.
2019-09-30 16:14:16 +01:00
Michael Banther
660b483d1e
Clean up whitespace, no functional change.
2019-09-30 16:12:16 +01:00
Michael Banther
d7be8419d8
Add a 1b port for receiving the NDP10x interrupt.
2019-09-30 13:52:22 +01:00
Michael Banther
b68c192ad9
Updated change log
2019-09-26 16:29:53 +01:00
larry
0b30ba0cb7
Merge pull request #1 from michaelb/pendragon
...
Add UAC1 HID support for Voice Command detection
2019-09-26 15:32:02 +01:00
Michael Banther
37bbea3726
Use a consistent method to interpret the HID_CONTROLS pre-processor symbol throughout the code base.
2019-09-26 14:45:17 +01:00
Michael Banther
ba666fb314
Add a 100 ms assertion period when this demonstration code signals an NDP100 interrupt.
...
When testing with the Play/Pause Usage (0xCD) with a Mac as USB Host, adding in this assertion period produced reliable playing and pausing of the iTunes app every 10 seconds. Without an explicit assertion period, i.e. sending only one report with the lsb set to 1b followed by many reports with the lsb set to 0b, the iTunes app behaved as though it did not see many of the Play/Pause signals. The inclusion of an assertion period may or may not help when reporting Voice Command events on Andriod.
2019-09-26 14:27:20 +01:00
Michael Banther
9472bd7dce
Change HID usage from Play On-Off Control (OOC) to Voice Command One-Shot Control (OSC).
...
OSC requires relative data.
2019-09-26 14:22:17 +01:00
Michael Banther
3c86da7c09
Add demo HID code that simulates an interrupt roughly every 10 seconds.
2019-09-25 16:13:46 +01:00
Michael Banther
d491eb2da9
Change HID Report descriptor to contain one variable bit in the lsb position. This bit reports the interrupt. The remaining seven bits are constant at zero.
2019-09-25 16:12:59 +01:00
Michael Banther
960333ca09
Add the missing MSB of the maximum packet size and use hex values instead of decimal.
2019-09-25 14:38:17 +01:00
Michael Banther
3131b89a1d
Add HID descriptors for UAC1.
2019-09-25 11:46:16 +01:00
Michael Banther
958d52b5eb
Consistently use hex when defining descriptor values.
2019-09-25 11:45:40 +01:00
Michael Banther
35393d3739
Remove duplicate definitions.
2019-09-25 11:44:43 +01:00
Michael Banther
75422de6d1
Replace existing #ifdef HID_CONTROLS with #if( 0 < HID_CONTROLS ) to move to best practice regarding compile-time switches.
2019-09-25 11:42:59 +01:00
Michael Banther
017d937ec7
Add comments to match #endif directives to their corresponding #if or #ifdef directive.
...
Added to aid reading.
2019-09-25 11:39:48 +01:00
Michael Banther
bb5757e099
Initial implementation of HID.
2019-09-23 17:29:39 +01:00
Michael Banther
8ff44c553c
Add the specific directory that contains user_hid.h.
...
Apparently xwaf doesn't recursively descend directory trees the way xmake does.
2019-09-23 15:36:35 +01:00
Ross Owen
b3331c9d47
Merge pull request #94 from oscarbailey-xmos/feature/xwaf-xcommon-develop
...
Feature/xwaf xcommon develop
2019-09-13 11:31:00 +01:00
oscarbailey-xmos
a2895a013b
Merge pull request #5 from shuchitak/patch-1
...
Update Jenkinsfile
2019-09-13 10:21:33 +01:00
shuchitak
a1aca010fb
Update Jenkinsfile
2019-09-13 10:20:23 +01:00
Oscar Bailey
eb1ca1eb8d
Update CHANGELOG
2019-09-06 09:13:09 +01:00
Oscar Bailey
508c62af00
Keep version on 0.2.0
2019-09-05 16:34:59 +01:00
Oscar Bailey
a682ed7d19
Update copyright
2019-09-05 16:03:31 +01:00
Oscar Bailey
eafcc89a6b
Change XUA to use new mic array API
2019-09-05 15:52:51 +01:00
Oscar Bailey
244232d3e1
Change view to lib_xua_xwaf_xcommon
2019-08-29 10:01:03 +01:00
Sam Chesney
a7a577acad
Update cleanup call
2019-08-29 09:57:55 +01:00
Sam Chesney
8d3cc039f7
Update dependency requirements
2019-08-29 09:57:27 +01:00
Sam Chesney
f1ba1dace8
Bump version
2019-08-29 09:57:15 +01:00
Sam Chesney
9d84debefd
Update to support "xwaf.xcommon" builds
2019-08-29 09:56:54 +01:00
Ross Owen
e1f8a8c521
Merge pull request #88 from oscarbailey-xmos/feature/add-audio-stream-callbacks
...
Added audio stream start/stop callbacks for input/output
2019-08-27 11:07:03 +01:00
Ross Owen
5b05e4e32e
Update CHANGELOG.rst
2019-08-27 11:06:44 +01:00
Oscar Bailey
3fc2729db8
Update Copyright
2019-08-23 09:52:53 +01:00
Oscar Bailey
a120d7a83e
Added audio stream start/stop callbacks for input/output
2019-08-23 09:30:05 +01:00
Sam Chesney
5a13171a40
Merge pull request #84 from samchesney/feature/new-jenkins-agents
...
Update Jenkins Pipeline to use new agents
2019-08-21 16:46:12 +01:00
Sam Chesney
204c695434
Correct dependency info in release notes
2019-08-20 19:02:53 +01:00
Sam Chesney
40f4c2f8ab
Update copyright date
2019-08-20 18:50:25 +01:00