summaryrefslogtreecommitdiff
path: root/libs/ui/KeyLayoutMap.h
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-11-18 14:20:30 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2010-11-18 14:20:30 -0800
commit98dc391e20e0a27cd143cbdf62f8f306dba3fa83 (patch)
tree119214c6e9d6a946df03ebfbe906651feb0f1668 /libs/ui/KeyLayoutMap.h
parent35cf947565aca616fe461283602b2c21c8264712 (diff)
parenta3477c862a5debcac7dfb076749059406ec59512 (diff)
Merge "Added support for full PC-style keyboards."
Diffstat (limited to 'libs/ui/KeyLayoutMap.h')
-rw-r--r--libs/ui/KeyLayoutMap.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/libs/ui/KeyLayoutMap.h b/libs/ui/KeyLayoutMap.h
deleted file mode 100644
index 43f84ce496..0000000000
--- a/libs/ui/KeyLayoutMap.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef KEYLAYOUTMAP_H
-#define KEYLAYOUTMAP_H
-
-#include <utils/KeyedVector.h>
-
-namespace android {
-
-class KeyLayoutMap
-{
-public:
- KeyLayoutMap();
- ~KeyLayoutMap();
-
- status_t load(const char* filename);
-
- status_t map(int32_t scancode, int32_t *keycode, uint32_t *flags) const;
- status_t findScancodes(int32_t keycode, Vector<int32_t>* outScancodes) const;
-
-private:
- struct Key {
- int32_t keycode;
- uint32_t flags;
- };
-
- status_t m_status;
- KeyedVector<int32_t,Key> m_keys;
-};
-
-};
-
-#endif // KEYLAYOUTMAP_H