summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-01-10 14:24:49 +0100
committerBastien Nocera <hadess@hadess.net>2022-01-10 14:38:48 +0100
commit427c659e7ff31f3548fb968c7b3a28a47048389a (patch)
tree8088c8d710adbe3fd9312df248fe8a6063000cc7
parent65004396388dd4de8b49a0411b3c3df59578561b (diff)
downloadgnome-bluetooth-wip/hadess/more-agent-caps.tar.gz
agent: Add "keyboard" input capability when pairingwip/hadess/more-agent-caps
This better reflects the input capabilities a typical GNOME desktop has. See the IO capabilities table in https://www.bluetooth.com/blog/bluetooth-pairing-part-1-pairing-feature-exchange/
-rw-r--r--lib/bluetooth-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bluetooth-agent.c b/lib/bluetooth-agent.c
index 47420feb..676a86ca 100644
--- a/lib/bluetooth-agent.c
+++ b/lib/bluetooth-agent.c
@@ -272,7 +272,7 @@ register_agent (BluetoothAgent *agent)
ret = agent_manager1_call_register_agent_sync (agent->agent_manager,
agent->path,
- "DisplayYesNo",
+ "KeyboardDisplay",
NULL, &error);
if (ret == FALSE) {
g_printerr ("Agent registration failed: %s\n", error->message);