[Project ] Semi-Keys 09-24-2014, 07:10 PM
#1
Project: Semi-Keys
Author: RA1N
Progress: 60%
Project Components:
So this project was mainly inspired by the way that 90% of all spell checks work. What this does is it maps out the keyboard's keys as points (x, y).
Eg. q = (0,0), w = (0, 1), etc..
I then developed a function to use the same system to get the key for a given coordinate. So if I used (1, 3) it would return "f".
Keys:
To prevent bugs I also included offsets used to calculate the surrounding keys based on how the standard keyboard is laid out.
Next, Using the method to get the keys from the coordinates. It then finds the keys around it by using the offsets and other calculations.
Media:
![[Image: b8c92148db4c26c5c768629c85a77c3e.png]](http://i.gyazo.com/b8c92148db4c26c5c768629c85a77c3e.png)
![[Image: bee16dbefe8c1671f9ef45d7bc745969.png]](http://i.gyazo.com/bee16dbefe8c1671f9ef45d7bc745969.png)
![[Image: 401b99ee6d1deed3ade0272aec68447c.png]](http://i.gyazo.com/401b99ee6d1deed3ade0272aec68447c.png)
Author: RA1N
Progress: 60%
Project Components:
- Getting the key column [X]
- Mapping the keys using points [X]
- Grabbing Keys using coordinates [X]
- Detecting surrounding keys [X]
- Implementing a dictionary [ ] (If anyone knows a free way of doing this please PM me or reply)
- Finding possible words based of input [ ]
So this project was mainly inspired by the way that 90% of all spell checks work. What this does is it maps out the keyboard's keys as points (x, y).
Eg. q = (0,0), w = (0, 1), etc..
I then developed a function to use the same system to get the key for a given coordinate. So if I used (1, 3) it would return "f".
Keys:
Code:
{"q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "\"}
{"a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'"}
{"z", "x", "c", "v", "b", "n", "m", ",", ".", "/"}To prevent bugs I also included offsets used to calculate the surrounding keys based on how the standard keyboard is laid out.
Next, Using the method to get the keys from the coordinates. It then finds the keys around it by using the offsets and other calculations.
Media:
Spoiler:
![[Image: b8c92148db4c26c5c768629c85a77c3e.png]](http://i.gyazo.com/b8c92148db4c26c5c768629c85a77c3e.png)
![[Image: bee16dbefe8c1671f9ef45d7bc745969.png]](http://i.gyazo.com/bee16dbefe8c1671f9ef45d7bc745969.png)
![[Image: 401b99ee6d1deed3ade0272aec68447c.png]](http://i.gyazo.com/401b99ee6d1deed3ade0272aec68447c.png)
[username], need some help?, PM me.
![[Image: kjKks6Y.png]](http://i.imgur.com/kjKks6Y.png)
![[Image: kjKks6Y.png]](http://i.imgur.com/kjKks6Y.png)




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)