Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
RECOGNITION OF SIMULTANEOUS KEY PRESSES IN KEYBOARDS
Document Type and Number:
WIPO Patent Application WO/2018/236334
Kind Code:
A1
Abstract:
The present subject matter relates to recognition of simultaneous key presses in a keyboard. The keyboard includes a first group of keys, which includes keys that are to be individually recognized when pressed simultaneously with at least one other key of the first group. Keys of a first sub-group of the first group are connected to key switches that are to be connected to general purpose input/output (GPIO) pins. Keys of a second sub-group of the first group are connected to key switches on at least one of mutually different columns and mutually different rows of a matrix of electrical interconnections. The second sub-group includes at least one key that is not a modifier key.

More Like This:
JPH01150924WIRELESS KEYBOARD DEVICE
JPH09265335PERSONAL COMPUTER
WO/2023/105884INPUT DEVICE
Inventors:
YEN SHIHFENG (TW)
Application Number:
PCT/US2017/038081
Publication Date:
December 27, 2018
Filing Date:
June 19, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HEWLETT PACKARD DEVELOPMENT CO (US)
International Classes:
G06F3/02; H01H13/70
Foreign References:
US20120044095A12012-02-23
US20090096640A12009-04-16
US6286064B12001-09-04
US20100097342A12010-04-22
Attorney, Agent or Firm:
MAISAMI, Ceyda Azakli (US)
Download PDF:
Claims:
We claim:

1. A keyboard comprising:

a matrix of electrical interconnections having rows and columns; key switches arranged at intersections of the rows and columns; and

a first group of keys, each key of the first group of keys to be individually recognized when pressed simultaneously with at least one other key of the first group of keys, the first group of keys comprising a first sub-group of keys and a second sub-group of keys, wherein

each key of the first sub-group of keys is connected to a key switch that is to be connected to a general purpose input/output (GPIO) pin of a controller having a plurality of GPIO pins,

the second sub-group of keys comprises at least one key that is not a modifier key, and

keys of the second sub-group of keys are connected to key switches on at least one of: mutually different columns and mutually different rows of the matrix.

2. The keyboard of claim 1, wherein the first sub-group of keys comprises frequently used keys and the second sub-group of keys comprises keys that are frequently used in combination with keys of the first set of keys.

3. The keyboard of claim 1 , wherein the modifier key is an operating system- defined key for use in hotkey combinations.

4. The keyboard of claim 1 , wherein the keyboard is one of a membrane type keyboard and a mechanical type keyboard.

5. The keyboard of claim 1 , comprising a second group of keys, each key of the second group of keys connected to key switches of the keyboard matrix. 6. A computing device comprising:

a controller comprising general purpose input/output (GPIO) pins; and

a keyboard comprising:

a keyboard matrix comprising key switches arranged in rows and columns; and

a first set of keys, each key of the first set of keys connected to a key switch connected to a GPIO pin of the controller; and

a second set of keys, each key of the second set of keys connected to a key switch of the keyboard matrix, the second set of keys comprising a subset of keys, wherein

the subset of keys comprises at least one key that is a not a modifier key,

each key of the subset of keys is to be individually recognized when pressed simultaneously with at least one other key of the subset of keys, and

keys of the subset of keys are connected to key switches on mutually different columns of the keyboard matrix.

7. The computing device of claim 6, wherein the controller is an embedded controller.

8. The computing device of claim 6, wherein the keyboard matrix comprises key switches arranged in eight rows and eighteen columns.

9. The computing device of claim 6, wherein the first set of keys comprises 'ΟΛ W, Έ", 'R\ "A", 'S\ Ό', and 'F keys.

10. The computing device of claim 6, wherein the subset of keys comprises T, 'Ζ, '3', '4', '5', "G", 'Ζ', 'C, V, 'Ctrl', 'Alt', 'Shift', <Windows>, <Left Arrow>, <Right Arrow>, <Up Arrow>, <Down Arrow>, and <Space> keys. 11. The computing device of claim 6. comprising a recognizer, wherein the recognizer is connected to the keyboard matrix for recognition of a pressed key.

12. A method for providing electrical connections to keys of a keyboard, the method comprising:

connecting keys of a first set of keys to switches that are to be connected to general purpose input/output (GPIO) pins of a controller; and connecting keys of a second set of keys to switches of a keyboard matrix, the keyboard matrix comprising a plurality of switches arranged in rows and columns, wherein

the second set of keys comprises a subset of keys, a simultaneous pressing of at least two keys of which are to be individually recognized,

the subset of keys comprises at least one key that is not a modifier key, and

connecting keys of the second set of keys comprises connecting keys of the subset of keys to switches on at least one of: mutually different columns and mutually different rows.

13. The method of claim 12, comprises connecting the keyboard matrix to a recognizer for recognizing pressed keys.

14. The method of claim 12, wherein keys of the first set of keys and the subset of keys are keys that are frequently used in gaming applications, and wherein the modifier key is an operating system-defined key for use in hotkey combinations.

15. The method of claim 12, comprising:

selecting a plurality of frequently used keys as the first set of keys; selecting a plurality of keys of the second set of keys that are frequently used in combination with the keys of the first set of keys as the subset of keys; and determining a mapping between the keys of the second set of keys and the switches of the keyboard matrix such that the keys of the subset of keys are connected to the switches on at least one of: mutually different columns and mutually different rows.

Description:
RECOGNITION OF SIMULTANEOUS KEY PRESSES IN KEYBOARDS

BACKGROUND

[0001] A keyboard includes a plurality of keys, each of which can be pressed for providing an input to a computing system connected to the keyboard. Sometimes, multiple keys On the keyboard are to be pressed Simultaneously for providing an input to the computing system. For example, in some gaming applications, operating system commands, or short-cut key combinations, multiple keys on the keyboard are to be pressed together for performing an action. The multiple keys that are pressed together are to be recognized individually for the appropriate action to be performed.

BRIEF DESCRIPTION OF DRAWINGS

[0002] The following detailed description references the figures, wherein:

[0003] Fig. 1 illustrates a keyboard, according to an example implementation of the present subject matter.

[0004] Fig. 2 illustrates a computing device connected to a keyboard, according to an example implementation of the present subject matter.

[0005] Fig. 3 illustrates connections of various keys of a keyboard to key switches of a keyboard matrix and key switches connected to a controller, according to an example implementation of the present subject matter.

[0006] Fig. 4 illustrates a method for providing electrical connections to keys of a keyboard, according to an example implementation of the present subject matter.

[0007] Fig. 5 illustrates a method for providing a mapping for keys of a keyboard with key switches on a keyboard matrix, according to an example implementation of the present subject matter.

DETAILED DESCRIPTION

[0008] A keyboard includes a plurality of keys, electrical interconnections arranged in rows and columns, and key switches at at least some of the intersections of the rows and columns. Each key of the keyboard is connected to a key switch. When a key is pressed, its corresponding key switch is actuated, resulting in an electrical connection between the row and column corresponding to the key switch. This electrical connection results in the output of an electrical signal, which enables the recognition of the actuated key switch, and consequently, the pressed key.

[0009] In some instances, multiple keys on the keyboard are to be pressed simultaneously for providing an input. For example, in a gaming application, three keys may have to be pressed at the same time for moving diagonally and dodging at the same time.

[0010] In some cases, when multiple keys are pressed simultaneously, some keys that are not pressed may be falsely recognized as pressed. For example, an electrical signal applied on a first column may travel to another column through keys pressed in the two columns. The electrical signal is transmitted through the pressed keys in the two columns to a row in which no key is pressed. This results in the non-pressed key being recognized as pressed.

[0011 ] To prevent false recognition of the pressed keys, in some keyboards, some key presses are not recognized when multiple keys are pressed simultaneously. This causes some of the actual key presses to go unrecognized. For example, when the keys 'Q' and W are pressed, the pressing of TV, 'S\ T, or X is not recognized. The phenomenon of false recognition of un-pressed as being pressed and some of the pressed keys being unrecognized to prevent the false recognition is referred to as "ghosting" of keys.

[0012] The present subject matter relates to recognizing simultaneous key presses on keyboards. With the implementations of the present subject matter, several keys of keyboards become "ghost-free".

[0013] In accordance with an example Implementation of the present subject matter, a keyboard includes keys and a matrix of electrical interconnections having rows and columns. Key switches are arranged at intersections of the rows and columns. The key switches help in recognition of key presses. The keys in the keyboard include a first group of keys, where each key of the first group is to be individually recognized when pressed simultaneously with at least one other key of the first group. [0014] The first group includes a first sub-group and a second sub-group of keys. The second sub-group includes at least one key that is not a modifier key, which is a key that modifies the action of another key when the keys are pressed at the same time. Each key of the second sub-group is connected to a key switch on the matrix, while each key of the first sub-group is connected to a key switch that is to be connected to a general purpose input/output (GPIO) pin of a controller. The keys of the second sub-group are connected to key switches on mutually different columns of the matrix. Alternatively, or in addition, the keys of the second sub-group are connected to key switches on mutually different rows of the matrix. Here, connecting keys to key switches in mutually different columns/rows refers to connecting the keys such that no two keys are connected to key switches on the same column/row.

[0015] In accordance with an example implementation of the present subject matter, a computing device includes a controller having a plurality of GPIO pins. The computing device also includes a keyboard. The keyboard, in turn, includes a keyboard matrix having key switches arranged in rows and columns, a first set of keys, and a second set of keys. Each key of the first set is connected to a key switch that is connected to a GPIO pin of the controller, while each key of the second set is connected to a key switch of the keyboard matrix. The second set includes a subset of keys. Each key of the subset is connected to key switches on mutually different columns of the keyboard matrix.

[0016] In accordance with a further implementation of the present subject matter, a method for providing electrical connections to keys of a keyboard to make selected keys anti-ghosting is described. The method includes connecting keys of a first set of keys to switches to be connected to GPIO pins of a controller and connecting keys of a second set of keys to switches of a keyboard matrix. The connection of the second set of keys includes connecting a subset of keys of the second set to switches on at least one of mutually different columns and mutually different rows of the keyboard matrix.

[0017] The present subject matter enables making several keys of a keyboard individually recognizable even when they are pressed simultaneously. For instance, the keys that are connected to the GPIO pins are recognizable when pressed along with any number of other keys of the keyboard. Further, the keys that are arranged in the mutually different columns/rows are recognizable when pressed along with each other or with any key connected to the GPIO pins. Therefore, by connecting some keys to GPIO pins and rearranging connections of some other keys, several keys are made ghost-free without adding any new equipment, such as diodes, a membrane having different impedances for different keys, and the like, to the keyboard.

[0018] The following description refers to the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the following description to refer to the same or similar parts. While several examples are described in the description, modifications, adaptations, and other implementations are possible. Accordingly, the following detailed description does not limit the disclosed examples. Instead, the proper scope of the disclosed examples may be defined by the appended claims.

[0019] Example implementations of the present subject matter are described with regard to computer keyboards. Although not described, it will be understood that the implementations of the present subject matter can be used with other types of keyboards as well.

[0020] Fig. 1 illustrates a keyboard 100, according to an example implementation of the present subject matter.

[0021] The keyboard 100 includes a plurality of keys from which one or more keys can be pressed for providing an input to a computing device that includes the keyboard 100. A computing device that includes the keyboard 100 may refer to a computing device that physically includes the keyboard within itself (for example, a laptop computer) or a computing device that does not physically include the keyboard, but is connected to an external keyboard (for example, a desktop computer).

[0022] The plurality of keys includes a first group of keys 102. The first group of keys 102 may be interchangeably referred to as the first group 102. Each key of the first group 102 is to be individually recognized when pressed simultaneously with at least one other key of the first group 102. In an example, the first group 102 includes frequently used keys of the keyboard 100.

[0023] A key being individually recognizable means that a press of the key is recognizable even when it is pressed at the same time as another key and that no un-pressed key is wrongly recognized as being pressed at that time. For instance, when a key 104 of the first group 102 is pressed at the same time as any other keys, say 106, 108, 110, 112, or 114, the press of the key 104 and that of the other keys is to be recognized individually and an un-pressed key is not to be falsely recognized as being pressed. The first group 102 includes a first subgroup of keys (first sub-group) 116 and a second sub-group of keys (second subgroup) 118. The second sub-group 118 includes at least one key that is not a modifier key, which is a key that modifies the action of another key when the keys are pressed at the same time. The modifier keys are explained in greater detail with reference to Fig. 2.

[0024] For recognition of the pressing of the keys of the first sub-group 116, each key of the first sub-group 116 is connected to a key switch that is to be connected to a general purpose input/output (GPIO) pin. For instance, the key 104 is connected to a key switch 120, which is to be connected to a GPIO pin 122. Similarly, the keys 106 and 108 are connected to key switches 124 and 126, respectively, which are to be connected to GPIO pins 128 and 130, respectively.

Although not shown in Fig. 1 , the key switches 120, 124 126 may be included in the keyboard 100. The GPIO pins 122, 128 130 may be included in a controller (not shown in Fig. 1) having a plurality of GPIO pins.

[0025] For recognition of the pressing of the keys of the second sub-group 118, each key of the second sub-group is connected to key switches on a matrix 132 of electrical interconnections. The matrix 132 of electrical interconnections includes electrical interconnections arranged in rows and columns. The matrix 132 includes key switches at intersections of the rows and columns of electrical interconnections. For example, the matrix 132 includes a key switch 134 at the intersection of the first row and first column, key switch 136 at the intersection of the first row and second column, and so on. [0026] Each key of the second sub-group 118 can be connected to key switches in mutually different columns. Here, connecting keys to key switches in mutually different columns refers to connecting the keys such that no two keys are connected to key switches on the same column. For instance, as illustrated in Fig. 1, keys 110, 112, and 114, which are part of the second sub-group 118, are connected to key switches 134, 138, and 140, which are in mutually different columns.

[0027] Instead of, or in addition to, connecting the keys of the second subgroup 118 to key switches in mutually different columns, the keys of the second sub-group 118 can be connected to key switches in different rows of the matrix 132.

[0028] In an example, the keyboard 100 is a membrane type keyboard. In another example, the keyboard 100 is a mechanical type keyboard. In addition to the first group 102 of keys, the keyboard 100 can include a second group keys (not shown in Fig. 1 ) as well. Each key of the second group can be connected to a key switch on the matrix 132. Further, the keyboard 100 can be connected to a computing system. These and the other features of the present subject matter will be explained in the subsequent paragraphs.

[0029] It is to be understood that the key arrangement of the keyboard 100, illustrated in Fig. 1, is merely for the purposes of illustration, and any other arrangement of keys is possible and covered by the present subject matter.

[0030] Fig. 2 illustrates a computing device 200, according to an example implementation of the present subject matter. Examples of the computing device 200 includes, but are not restricted to, laptop computer and a desktop computer.

[0031] The computing device 200 includes a keyboard 202 through which a user can provide inputs to the computing device 200 in the form of keystrokes. The keyboard 202 may be similar to the keyboard 100.

[0032] The computing device 200 also includes a controller 204 that includes a plurality of GPIO pins, such as GPIO pins 206-1, 206-2 206-n.

GPIO pins are generic pins, having no predefined purpose, whose behavior can be controlled by users. The controller 204 may perform various functions with regard to the computing device 200. In an example, the controller 204 is an embedded controller (EC), which handles various tasks that the operating system does not handle, such as receiving and processing signals from the keyboard 202 and turning the computing device 200 on and off. In another example, the controller 204 is a keyboard controller, which interfaces between the keyboard 202 and the computing device 200. In a further example, the controller 204 is any other microchip.

[0033] The keyboard 202 includes a first set of keys 208, a second set of keys 210, and a keyboard matrix 212. The keyboard matrix 212 includes a plurality of key switches arranged in rows and columns. For instance, the keyboard matrix 212 includes key switches 214-11, 214-12 214-1 n, 214-21,

....214-2n 214-mn arranged in m rows and n columns. Although a key switch is shown to be present at each intersection of row and column, in an implementation, key switches may not be present in all the intersections.

[0034] Each key of the first set 208 is connected to a key switch that is connected to a GPIO pin of the controller 204. For instance, keys 216-1, 216-2,

.... 216-n of the first set 208 are connected to key switches 218-1 , 218-2 218- n, respectively, which, in turn, are connected to GPIO pins 206-1 , 206-2 206- n, respectively. Therefore, when any key of the first set 208 is pressed, its corresponding key switch, connected to a GPIO pin, is actuated, resulting in the output of an electrical signal from the GPIO pin. This enables recognition of the pressed key in the first set 208. The key switches 218-1, 218-2, .... 218-n can be included in the keyboard 202.

[0035] Further, each key of the second set 210 is connected to a key switch of the keyboard matrix 212. Therefore, when a key of the second set 210 is pressed, its corresponding key switch is actuated, establishing an electrical connection between the row and column corresponding to the key switch. This results in the output of an electrical signal, enabling recognition of the pressed key in the second set 210. [0036] The second set 210 includes a subset of keys 220, also referred to as a subset 220. Each key of the subset 220 is to be individually recognized when pressed simultaneously with at least one other key of the subset 220. The subset 220 includes at least one key that is not a modifier key. A modifier key modifies the action of another key when the keys are pressed at the same time. Examples of the modifier key include, but are not restricted to, 'Shift' key, 'Ctrl' key, 'Alt' key, and <Windows> key. Such keys are defined by operating systems and are used in hotkey combinations, such as 'Alt+F4' and 'Ctri+C.

[0037] The connection of the keys of the second set 210 to the key switches of the keyboard matrix 212 is such that the keys of the subset 220 are connected to key switches in mutually different columns of the keyboard matrix

212. For instance, keys 222-1, 222-2 222-n of the subset 220 are connected to key switches 214-11, 214-12 214-1n, respectively, which are key switches on mutually different columns. The other keys of the second set 210 may be connected to remaining key switches of the keyboard matrix 212 in any fashion. For example, as illustrated, key 224-1 may be connected to the key switch 214- 21 and key 224-n may be connected to the key switch 214-2n.

[0038] Although the keys of the subset 220 are shown to be connected to key switches on the first row of the keyboard matrix 212, it is to be understood that the keys of the subset 220 can be connected to key switches on any of the rows.

[0039] Since the keys of the first set 208 are not connected to key switches of the keyboard matrix 212, the recognition of these keys is not affected by the pressing of any key of the second set 210. Further, since each key of the first set 208 is connected to key switches connected to mutually different GPIO pins, the pressing of multiple keys of the first set 208 at the same time can be individually recognized. Therefore, the keys of the first set 208 become globally "ghost-free", i.e., recognizable when pressed at the same time as any other keys of the keyboard 202.

[0040] Further, since the keys of the subset 220 are connected to key switches in mutually different columns, they can be individually recognized even when they are pressed simultaneously with each other. They can also be individually recognized when they are pressed at the same time as any key of the first set 208. Therefore, any key of the subset 220 is "ghost-free" relative to all the keys of the first set 208 and the other keys of the subset 220. In an implementation, the number of keys in the subset 220 is equal to the number of columns available in the keyboard matrix 212. This enables increasing the number of "ghost-free" keys of the keyboard 202.

[0041] From the above, it can be seen that by connecting some keys outside the keyboard matrix 212 and connecting some other keys to key switches of different columns, several keys of the keyboard 202 are made ghost-free. Further, if the controller 204 is an EC or a keyboard controller, which are usually present in most computing devices and already include several GPIO pins, the present subject matter enables using the existing components of the computing devices to make keyboards ghost-tree. Therefore, the techniques of the present subject matter make the keys of a keyboard ghost-free in an efficient and economical manner.

[0042] Although the keys of the subset 220 are explained as being connected to mutually different columns, in an implementation, the keys of the subset 220 may be connected to mutually different rows of the keyboard 202. Such a connection of the keys of the subset 220 also ensure that these keys can be individually recognized when pressed along with any other key of the subset 220 or with any key of the first set 208.

[0043] It may be understood that the first sub-group of keys 116 corresponds to the first set of keys 208, the second sub-group of keys 118 corresponds to the subset of keys 220, and the second group of keys corresponds to second set of keys 210.

[0044] Fig. 3 illustrates connections of various keys of the keyboard 202 to key switches of the keyboard matrix 212 and key switches connected to the controller 204, according to an example implementation of the present subject matter. [0045] The keys of the keyboard are disposed on a keypad 302 and are connected to the key switches on the keyboard matrix 212 or the controller 204. The keyboard matrix 212 may be disposed beneath the keypad 302. In an implementation, the keyboard matrix 212 includes key switches arranged on eight rows and eighteen columns, as illustrated.

[0046] Each key of the keyboard 202 has a key code associated with it. For example, the key code associated with the key 'Q' is 17 and the key Ύ is 2. The key switch corresponding to each key on the keypad 302 is denoted by the key code of the key. For example, the key switch on the last row and the first column of the keyboard matrix 212 is denoted as '2' to indicate that it corresponds to the key T, having the key code 2. Similarly, the left-most key switch in the controller 204 is denoted as '17' to indicate that it corresponds to the key 'Q', having the key code 17.

[0047] The keyboard 202 can also include one or more programmable keys P1-P6, which can be programmed for various purposes, such as for replacing another key, saving a macro, saving a shortcut for launching a program, saving a phrase of sentence, and the like.

[0048] It is to be understood that the present subject matter is not limited to the arrangement of keys and connections of keys to key switches illustrated in Fig. 3. Such an illustration is for the purposes of explanation alone, and any other manner of arrangement and connections of keys may be possible.

[0049] As explained earlier, keys of the first set of keys 208 are connected to key switches connected to GPIO pins of the controller 204. In an example, the keys of the first set 208 includes eight keys, which are 'Q', W, Έ', 'R\ TV, 'S\ Ό', and 'F\ Therefore, these keys are connected to key switches connected to GPIO pins 206-1, 206-2 206-8. These key switches are denoted as Ί7', Ί8', '19',

'20', '31', '32', '33', and '34', indicating the key codes of their corresponding keys.

These key switches correspond to the key switches 218-1, 218-2 218-n.

These key switches may be included in the keyboard 202.

[0050] Although the controller 204 is shown to include eight GPIO pins, it is to be understood that the controller 204 may include any number of GPIO pins. Further, it is to be understood that not all of the GPIO pins of the controller 204 may be used for connecting keys of the keyboard. In an example, the controller 204 includes 144 GPIO pins, and eight of them are connected to key switches connected to keys of the keyboard. In addition to the eight GPIO pins used for key recognition, an additional GPIO pin 206-9 may be used for providing a driving electrical signal for recognition of the pressing of the keys of the first set 208. When a key, say 'Q', of the first set 208 is pressed, its corresponding key switch, denoted as '17', is actuated, resulting in the flow of an electrical signal from the GPIO pin 206-9 to the GPIO pin 206-1. The flow of the electrical signal on the GPIO pin 206-1 results in recognition of the pressing of the key Ό'. It will be understood that when n number of keys are included in the first set 208, n+1 number of GPIO pins are used for recognition of the key presses.

[0051] As explained earlier, keys of the subset of keys 220 can be connected to key switches in mutually different columns of the keyboard matrix 212. Here, the keys of the subset 220 includes eighteen keys, each key corresponding to one column of the keyboard matrix 212. In an example, the keys of the subset 220 are T, '2', '3', '4', '5', 'G\ 'Ζ', Ό'. V, 'Ctrl', 'Alt', 'Shiff, *Windows>, <Left Arrow>, <Right Arrow>, <Up Arrow>, <Down Arrow>, and <Space> keys. Therefore, these keys are connected to key switches connected to mutually different columns. For example, the key '2' is connected to the key switch on the last row and the sixth column of the keyboard matrix 212, denoted by '3', the key code for key '2'. As can be seen, no other key of the subset 220 is connected to a key switch on the sixth column.

[0052] The connection of eight keys to key switches connected to GPIO pins and connection of eighteen other keys to key switches in eighteen mutually different columns enables making twenty-six keys ghost-free. Overall, it is to be understood that connecting X number of keys to GPIO pins and Y number of keys to mutually different columns makes X+Y keys ghost-free (X global ghost-free keys and each of the Y keys ghost-free relative to the other X+Y-1 keys).

[0053] In an implementation, the keys included in the first set 208 and second set 210 are selected based on the frequency of usage of the keys of the keyboard 202. For example, the most frequently used X keys of the keyboard 202 may be selected as part of the first set 208. Further, the second set 210 may include the next Y most frequently used keys. In another example, the second set 210 may include the Y keys that are most frequently used in combination with the X keys that are part of the first set 208. Still further, in an implementation, the keys may be included in the first set 208 or the second set 210 based on the frequency of their use in some applications. For example, the keys may be chosen as part of the first set 208 or the second set 210 based on their use in gaming applications. It is to be understood that any criterion can be used to choose the keys that form part of the first set 208 or the second set 210.

[0054] In an implementation, the keyboard matrix 212 can be connected to a recognizer 304 for recognition of the pressed key. The recognizer 304 can be, for example, a keyboard controller. In an implementation, the recognizer 304 is same as the controller 204. In another implementation, the recognizer 304 is separate from the controller 204.

[0055] For output of an electrical signal when a key connected to the keyboard matrix 212 is pressed, in an implementation, an electrical signal, such as a voltage signal may be provided to columns of the keyboard matrix 212. The electrical signal may be received by a row of the keyboard matrix 212 when a key switch in that row is actuated. For example, when the <space> key (key code 61 ) is pressed, the key switch corresponding to it, in the last row and last column of the keyboard matrix 212 is actuated. This can result in the flow of electrical signal from the last column to the last row, enabling recognition of the pressing of the <space> key. It is to be understood that such a technique of recognition of key connected to the keyboard matrix 212 is an example alone, and any other technique for recognition of the pressed key can be used.

[0056] Fig. 4 illustrates a method 400 for providing electrical connections to keys of a keyboard, according to an example implementation of the present subject matter. [0057] The order in which the method 400 is described is not intended to be construed as a limitation, and any number of the described method blocks may be combined in any order to implement the method 400, or an alternative method.

[0058] At block 402, keys of a first set of keys are connected to switches that are to be connected to GPIO pins of a controller. Any known technique for connection of keys to switches may be used for the connection. The first set of keys may be, for example, the first sub-group of keys 116 or the first set of keys 208. The switches may be, for example, the key switches 120, 124, 126, 218-1 ,

218-2 218-n. The controller may be, for example, the controller 204. The

GPIO pins may be. for example, the GPIO pins 122, 128, 130, 206-1, 206-2

206-n. The method 400 can include connecting the switches that are to be connected to the GPIO pins to the GPIO pins.

[0059] At block 404, keys of a second set of keys are connected to switches of a keyboard matrix. The keyboard matrix includes a plurality of switches arranged in rows and columns. The second set of keys may be, for example, the second set of keys 210 or the second group of keys. The keyboard matrix can be, for example, the matrix 132 or the keyboard matrix 212. The switches of the keyboard matrix can be, for example, the key switches 134, 136, 138, 140 or 214-11 , 214-12 214-mn.

[0060] The second set of keys includes a subset of keys. A simultaneous pressing of at least two keys of the subset of keys is to be individually recognized. The subset of keys can be, for example, the second sub-group of keys 118 or the subset 220. The subset of keys includes at least one key that is not a modifier key, such as the 'Ctrl' key, 'Alt' key, and <Windows> key.

[0061] The connection of the keys of the second set includes connecting keys of the subset to switches on mutually different rows and/or mutually different columns of the keyboard matrix.

[0062] In an implementation, the method 400 can include connecting the keyboard matrix to a recognizer, such as the recognizer 304, for recognition of the pressed keys. [0063] In an implementation, the keys of the first set and the subset are keys that are frequently used in gaming applications. Further, the modifier key may be an operating system-defined key for use in hotkey combinations.

[0064] Fig. 5 illustrates a method 500 for providing a mapping for keys of the keyboard with key switches on the keyboard matrix or the controller, in accordance with an implementation of the present subject matter.

[0065] The order in which the method 500 is described is not intended to be construed as a limitation, and any number of the described method blocks may be combined in any order to implement the method 500, or an alternative method. Furthermore, the method 500 may be implemented by processor(s) or computing device(s) through any suitable hardware, non-transitory machine readable instructions, or a combination thereof.

[0066] It may be understood that steps of the method 500 may be performed by programmed computing devices and may be executed based on instructions stored in a non-transitory computer readable medium. The non- transitory computer readable medium may include, for example, digital memories, magnetic storage media, such as one or more magnetic disks and magnetic tapes, hard drives, or optically readable digital data storage media.

[0067] Referring to method 500, at block 502, a plurality of frequently used keys is selected as the first set of keys. The plurality of frequently used keys may be, for example, the most frequently used keys in a gaming application.

[0068] At block 504, a plurality of keys of the second set of keys that are frequently used in combination with the first set of keys is selected as the subset of keys. The number of the keys of the second set that are selected as the subset of keys may be determined based on the number of columns in the keyboard matrix if the keys of the subset are to be connected to mutually different columns. If the keys of the subset are to be connected to mutually different rows, the number of keys of the second set that are selected as the subset of keys may be determined based on the number of rows in the keyboard matrix. [0069] At block 506, a mapping is determined between the keys of the second set and the switches of the keyboard matrix. The mapping may be determined such that the keys of the subset are connected to the switches on at least one of mutually different columns and mutually different rows. In an example, such a mapping may be established by first mapping the keys of the subset to mutually different rows and/or mutually different columns and mapping the remaining keys of the second set to the remaining key switches.

[0070] The present subject matter provides an efficient technique for providing ghost-free keys in a keyboard. Since a subset of the keys of the keyboard alone are connected to GPIO pins, the present subject matter utilizes a minimal number of GPIO pins to achieve ghost-free keys. Further, since the remaining keys of the keyboard are connected such that the keys that are to be ghost-free are connected to key switches in different columns/rows, the present subject matter maximizes the number of keys that can be made ghost free. For instance, using eight GPIO pins, twenty-six keys can be made ghost-free, as explained above. Still further, when the keys of the first set are connected to GPIO pins in a controller like EC or keyboard controller, which are present in most computers, the use of a separate microchip for providing ghost-free keys is eliminated. The techniques of the present subject matter can be used in any type of keyboard, such as membrane type keyboard and mechanical type keyboard.

[0071] Although implementations of the providing anti-ghosting keys on keyboards have been described in language specific to structural features and/or methods, it is to be understood that the present subject matter is not necessarily limited to the specific features or methods described. Rather, the specific features and methods are disclosed and explained as example implementations.