aboutsummaryrefslogtreecommitdiff
path: root/input
AgeCommit message (Collapse)Author
2009-04-01Fix dead assignment.Luiz Augusto von Dentz
Value stored to 'err' is never read.
2009-03-24Convert some not-so-important info logs to debug logsJohan Hedberg
2009-03-14Adding version check for plugins.Alok Barsode
2009-03-11Use GCC visibility for exporting symbolsMarcel Holtmann
2009-02-25Fix strncpy length parameters to avoid non-nul-terminated stringsJohan Hedberg
2009-02-24Only call g_io_channel_shutdown if the connection was actually successfullJohan Hedberg
2009-02-23Only send unplug in case of ENOENTJohan Hedberg
2009-02-23Fix virtual cable unplug sendingJohan Hedberg
2009-02-23Reject multiple interrupt or control connect atteptsJohan Hedberg
2009-02-23Require both interrupt and control channels before calling hidp_add_connectionJohan Hedberg
2009-02-23Fix memory leak if btd_request_authorization failsJohan Hedberg
2009-02-23Input plugin fixes and cleanupJohan Hedberg
This patch fixes all known issues caused by converting the input plugin to use BtIO.
2009-02-22Fix bt_io_connect parameter listJohan Hedberg
2009-02-22Fix bt_io_get parameter passingJohan Hedberg
2009-02-22Use correct variable type for the PSMJohan Hedberg
2009-02-19Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.Luiz Augusto von Dentz
2009-02-19Make use of g_error_free instead of g_clear_error when possible.Luiz Augusto von Dentz
g_clear_error make an extra operation (&err = NULL) which is not necessary when the GError is not reused.
2009-02-19Make input plugin to use BtIO API.Luiz Augusto von Dentz
2009-01-29Fix mostly every warning caused by -Wsign-compareMarcel Holtmann
2009-01-01Update copyright informationMarcel Holtmann
2008-12-30Fix spelling mistakesMarcel Holtmann
2008-12-23Add missing include definitionsMarcel Holtmann
2008-12-01Remove deprecated methods and signals from input interfaceMarcel Holtmann
2008-11-08Remove duplicate call to btd_device_get_recordJohan Hedberg
2008-11-08Check for HSP_HS_UUID in the probe callbackJohan Hedberg
This change is needed since with the recent UUID matching changes e.g. the Headset AGW record would match HSP_HS_UUID since it contains it within the record.
2008-11-07Fix Connected property on input interface always being inverted.Luiz Augusto von Dentz
is_connected where being used as the compare function on g_slist_find_custom which doesn't work as expected.
2008-10-17Include sixpair.c in the distributionMarcel Holtmann
2008-10-16Rename dbus_connection_emit_property_changed to emit_property_changedJohan Hedberg
2008-10-16Fix yet another instance of dbus_message_iter_append_dict_entryJohan Hedberg
2008-10-16Save name for the sixaxis controllerBastien Nocera
The name won't be there until we connect otherwise
2008-10-16Store every record information for the sixaxis controllersBastien Nocera
Remove out-dated code to parse the HID input descriptor Make sure that all the Bluetooth addresses used are upper-case Add captured once SDP PNP record for the sixaxis controller Store device id, profile, and trust information about the device
2008-10-16Fix setting the master address on the sixaxisBastien Nocera
Direction for the USB command was wrong, also disable all the report code, so sixpair can run (minus saving device records)
2008-10-16Port sixpair to libusb 1.0Bastien Nocera
Port sixpair to libusb-1.0, as it allows us to re-attach the driver to the device after we're done.
2008-10-16Add sixpair toolBastien Nocera
Sixpair is an unfinished helper to automatically pair a plugged in Playstation 3 Sixaxis Bluetooth joypad.
2008-10-14Input: Code cleanup - Access record handle directly instead of call sdp_data_getClaudio Takahasi
2008-10-14Fix PS3 BD remote input event generationBastien Nocera
- Fix byte-reading in the decode function by using a guint8, instead of an int, we were overreading and were getting keycodes of 0xffffff44 when we wanted a single byte of 0x44. - Remove use of KEY_REMOTE_X, those keys never got upstream, and the values they were defined at are now used for completely different keys - Update uinput.h with the latest keycodes from 2.6.27
2008-10-12Fix possible crash on startupBastien Nocera
0 0x0000000000a5cf71 in sdp_data_get (rec=0x0, attrId=0) at sdp.c:1444 1 0x000000008c704721 in hid_device_probe (device=0x7f1bed2a80b0, uuids=0x7f1bed29fa90) at manager.c:70 2 0x00007f1becb5bc33 in device_probe_drivers (device=0x7f1bed2a80b0, uuids=0x7f1bed2a2980) at device.c:647 3 0x00007f1becb58a23 in create_stored_device_from_profiles (key=0x7f1bed2a7360 "00:1E:45:AD:F1:96", value=0x7f1bed2a7aa0 "00000002-0000-1000-8000-0002ee000002 00001101-0000-1000-8000-00805f9b34fb 00001103-0000-1000-8000-00805f9b34fb 00001104-0000-1000-8000-00805f9b34fb 00001105-0000-1000-8000-00805f9b34fb 00001106-0000-1"..., user_data=0x7f1bed29edd0) at adapter.c:2296 4 0x00007f1becb61d12 in textfile_foreach (pathname=0x7ffff4b6f2a0 "/var/lib/bluetooth/00:13:EF:F1:42:B7/profiles", func=0x7f1becb58955 <create_stored_device_from_profiles>, data=0x7f1bed29edd0) at textfile.c:447 5 0x00007f1becb58b36 in load_devices (adapter=0x7f1bed29edd0) at adapter.c:2327 6 0x00007f1becb58fa0 in adapter_up (adapter=0x7f1bed29edd0, dd=18) at adapter.c:2462 7 0x00007f1becb59479 in adapter_start (adapter=0x7f1bed29edd0) at adapter.c:2569 8 0x00007f1becb5427f in manager_start_adapter (id=0) at manager.c:424 9 0x00007f1becb48e02 in device_devup_setup (dev_id=0) at main.c:481 10 0x00007f1becb48f35 in init_all_devices (ctl=7) at main.c:512 11 0x00007f1becb496d0 in main (argc=1, argv=0x7ffff4b70788) at main.c:748 The HID device's SDP record can be NULL, so don't crash when that happens
2008-10-09Make device driver probe calls take UUID's instead of full recordsJohan Hedberg
This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's.
2008-10-03Fix uninitialized reply of multiple GetProperties methodsMarcel Holtmann
2008-10-02Mark old plugins API as deprecated.Luiz Augusto von Dentz
2008-10-02Add code to emit PropertyChanged on input interface.Luiz Augusto von Dentz
2008-10-02Add property support for input interface.Luiz Augusto von Dentz
2008-09-14Don't bother with the source value for input devicesMarcel Holtmann
2008-09-14Store source information from DID recordMarcel Holtmann
2008-09-14Merge branch 'master' of git://git.infradead.org/users/dwmw2/bluezMarcel Holtmann
2008-09-13fix fake hid detection by looking up pnp infoDavid Woodhouse
2008-09-13simplify arguments to hidp_add_connection()David Woodhouse
2008-09-14Remove wrong (left-over) codeMarcel Holtmann
2008-09-13Input: Disconnected signal doesn't have parametersClaudio Takahasi
2008-09-13Input: Connected signal doesn't have parametersClaudio Takahasi