summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-26 12:36:51 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-26 12:49:24 -0400
commit2c043ca2057af6338ad8ff43c044d3b0f602898c (patch)
tree247d677234085289f5d01754b090e3d40a757e6f /src/lib/elput/Elput.h
parent1ed8759e1abd0d46a3835bea09a5926172a8aead (diff)
elput: Add APIs to support keyboard key remapping
This patch adds 2 new API functions which can enable keyboard key remapping, and set which keys are to be remapped. @feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 8d3d6f6669..a7f0b7e4da 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -351,6 +351,34 @@ EAPI void elput_input_pointer_max_set(Elput_Manager *manager, int maxw, int maxh
351 */ 351 */
352EAPI void elput_input_devices_calibrate(Elput_Manager *manager, int w, int h); 352EAPI void elput_input_devices_calibrate(Elput_Manager *manager, int w, int h);
353 353
354/**
355 * Enable key remap functionality
356 *
357 * @param manager
358 * @param enable
359 *
360 * @return EINA_TRUE on success, EINA_FALSE otherwise
361 *
362 * @ingroup Elput_Input_Group
363 * @since 1.18
364 */
365EAPI Eina_Bool elput_input_key_remap_enable(Elput_Manager *manager, Eina_Bool enable);
366
367/**
368 * Set a given set of keys as remapped keys
369 *
370 * @param manager
371 * @param from_keys
372 * @param to_keys
373 * @param num
374 *
375 * @return EINA_TRUE on success, EINA_FALSE otherwise
376 *
377 * @ingroup Elput_Input_Group
378 * @since 1.18
379 */
380EAPI Eina_Bool elput_input_key_remap_set(Elput_Manager *manager, int *from_keys, int *to_keys, int num);
381
354# endif 382# endif
355 383
356# undef EAPI 384# undef EAPI