summaryrefslogtreecommitdiff
path: root/tstamping.c
AgeCommit message (Expand)AuthorFilesLines
2013-07-09configure: fix multiple issues in build configurationDaniel Borkmann1-8/+0
2013-06-04tstamping: add header file for packet timestampingDaniel Borkmann1-9/+2
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-1/+0
2013-06-04xutils: break out string handling and lockingDaniel Borkmann1-0/+1
2013-05-13ring: break out timestamping since not directly relatedDaniel Borkmann1-0/+53
oop-back&id=2a2429327711558aa23fd73d770b6fd5e0d10de7&id2=0f3982308b5fc7373c8d4e6dcfc8a02ee5a3408d'>diff)
HID: sony: Defer the initial USB Sixaxis output report
When initially connected via USB the Sixaxis isn't fully initialized until the PS logo button is pressed and won't send any input reports nor will any state set by output reports be retained. This adds a 'defer_initialization' flag to the sony_sc struct which, when set, will delay sending any output reports until the first input report has arrived. This flag is used with the USB Sixaxis to ensure that any state sent will persist since, until the PS button is pushed, any changes sent to the controller via an output report will be lost after a couple of seconds. The initial state of the controller is still configured at the time of the initial connection and won't be internally modified after that, so any state set by the user between that time and the recepit of the first input report won't be lost. Signed-off-by: Frank Praznik <frank.praznik@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat
-rw-r--r--drivers/hid/hid-sony.c29
1 files changed, 25 insertions, 4 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c