Chapter 255: Get a Keyboard
255.
If you want to design a keyboard, Cheng Li didn't think about it on the first day.
When he came to this world and used the very simplified Yin-Yang Tai Chi control panel to input programs for the first time, Cheng Li was extremely eager to have a keyboard.
Before that, Cheng Li didn't have the time or the ability to design a keyboard that could be used in this world.
But now, after thoroughly understanding the core secret pattern set of the Spirit Armor and learning the compilation principles of the Plankalkül language, Cheng Li is ready to try to design a keyboard.
When it comes to keyboards, many people may think that there is no technical content, because we can see them everywhere every day.
But in fact, the keyboard is one of the five cores in the von Neumann architecture system - the input device, which is very important.
We have a keyboard to input data and information into the computer, so that the computer can understand what we want to do.
In fact, the design process of the keyboard also went through a long evolutionary process, and finally formed the well-known QERTY keyboard on the earth.
The design of the keyboard has two cores, one is the key arrangement, and the other is the coding.
In this world where there is no English, it is obviously impossible to directly use the QERTY keyboard on the earth, unless Cheng Li only wants to design a keyboard for his own use.
However, in Cheng Li's plan for the future, to transform Qingling Island into one of his own bases, then it is necessary to implement a new cultivation system on Qingling Island, that is, the set that he has explored will become a new system that will be combined with cultivation.
Then there is no doubt that the keyboard he is going to design now must not be just for himself.
Unless he wants to let the people of Qingling Island learn English, but Cheng Li has never thought about this idea.
On the earth, because computers and programming were invented in the Western world, so all in English, Huaxia later to integrate into the world, to catch up with Britain and the United States, must accept their programming system, after all, even the CPU instruction set is still people's, X86 instruction set can not recognize your Chinese characters.
Therefore, even the Chinese programming such as Yi Language that has appeared on the earth is only based on English programming, with a layer of Chinese character skin, which is equivalent to the Chinese version, and the underlying core is still the English programming system.
Moreover, English does have certain advantages over Chinese characters in programming.
But this advantage is not worth mentioning at all for the strong physical fitness of a cultivator.
Therefore, after the idea of designing a keyboard, Cheng Li never thought of completely reusing the English programming system on the earth.
Instead, I wanted to design my own programming system that was completely based on Chinese characters.
After all, as a Chinese, Cheng Li still likes Chinese characters the most in his bones.
What's more, in this Qingling Island, the characters used by cultivators are also Chinese characters, so directly designing a programming system with Chinese characters as the core is the most simple and direct thing.
On the contrary, it is a matter of going around out of thin air to let the people of Qingling Island learn English, and to let them learn English programming.
Cheng Li naturally would not do such a thankless task.
However, it was also difficult to design a new programming system based on Chinese characters.
It is completely necessary to start from scratch, and rely on one's own understanding of the different systems of the two worlds to build a completely new thing.
The difficulty is undoubtedly great and challenging.
But Cheng Li likes this kind of challenge.
In fact, during the retreat, he spent most of his time on it.
"Old, next, I want a brand new input device to help me with the rest of the operation. Cheng Li said after jumping down from the spirit armor.
"Input device? that Yin Yang Tai Chi input slate, isn't it?" said the old man in confusion.
"That's too simple, it's true, but from the perspective of serving people, sometimes it's not as simple as possible, but it has to have a certain degree of integration. Cheng Li said.
"Okay, so what do you want to do?
"Yes. ”
After speaking, Cheng Li took out a drawing.
It shows what a keyboard looks like, and there is a design of the yin and yang signals that each key is going to generate.
There are two cores of keyboard design: keyboard layout and coding system, among which this keyboard layout is easy to do.
The keyboard layout given by Cheng Li does not look much different from the keyboard on the earth at first glance.
On the right is the keypad area, and on the left is the original alphabet key area.
But the difference is that the keyboard given by Cheng Li cannot see the letters in the letter key area, and the function keys of F1-F12 are also replaced by Cheng Li with "Zi, Chou, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu, Hai", the Chinese character identification of the twelve earthly branches.
Below the function keys of the twelve earthly branches are the number keys from 0 to 9, including the arithmetic symbols such as minus and plus signs next to them, which Cheng Li has copied unchanged.
Taking its essence and removing its dross, arithmetic symbols and Arabic numerals do have a very important position in the modern mathematical system, which can greatly reduce the difficulty of data input and learning costs, so there is no need for Cheng Li to go far and leave it alone.
And the magical correspondence between yin and yang and 0 and 1 made Cheng Li faintly feel that behind the Arabic numerals, there were secrets that he didn't know, so he used them directly.
In the letter area below the number row, you don't see a single letter.
Instead, everyone who knows Wubi is very familiar with the root key distribution.
That's right, since Cheng Li has abandoned the English alphabet, then if you want to use the keyboard to input Chinese characters, Cheng Li knows the best ready-made method, of course, is the Wubi input method.
There are five input methods, and Cheng Li doesn't need to redesign a new set of Chinese character input methods by himself, to be honest, this is very brain-consuming.
The Wubi input method is to encode and input Chinese characters through strokes and glyph features, so that even if there are no letters, you can input Chinese characters normally.
Fortunately, Cheng Li knows how to input five strokes.
Therefore, with his current thinking ability, he quickly analyzed the Wubi input method thoroughly, and then decomposed it into a piece of implementation principle, wrote it on the drawing, and showed it to the old man and the master of the Perak Hall.
"This is a new keyboard layout and a way to input Chinese characters, and this set of keyboard layouts and Chinese character input methods is not something I thought of myself, but one of the most popular input devices in my hometown above the nine heavens. ”
With the endorsement of the nine days, the old man immediately has 100% trust in this new input device.
"Well, it's a lot of unique and innovative ideas, and it's really going to make it a lot easier for the typeholder to use. ”
"Brother Thunderbolt, then let's make this keyboard for Master Cheng, right?"
"Well, this is just a purely mechanical input device, and it doesn't involve any arcane changes, so it should be able to be made quickly!"
=====
(Today, the book has its first leader!)
Thank you for the support of the "Three Dances of the Law Student"!
Since there is an alliance leader, it must be added. There will be a more chapter in the evening.,And so on there is another chapter.,But it's estimated that it's going to be late.,You can get up again tomorrow.。 )