📜 ⬆️ ⬇️

It used to be easier

As everything is difficult ... Simplifying the lives of users, we complicate the lives of developers.
As before, everything was simple:
- Key "A" pressed
- Yeah ... And what else is pressed?
- “shift” key
- Yeah ... We write the title, ok


There were a little more than a hundred keys and each of them could be pressed or released. And that's all. It's simple. Maximum was added the notion of holding - when the key is not released for a long time.

What to say? Just recently it was like this:
- Key "A" pressed
- Yeah ... And what else?
- nothing
- Come on? So simple? Where is the mouse?
- 178 * 732
- Yeah ... And the program window?
- Collapsed
“Ag ... Lolshta?
- Collapsed
- On the taskbar?
- No, in the tray
“Mouse on the other side of the screen, yes?”
- Yes
- B [censored] I ...

It was not easy, but we coped. A mouse was added to the keyboard and not only did it have two buttons and a wheel, so it could still be everywhere! No, really, count: 1024 * 768 - how many are the provisions? Lot? But still had to follow the windows of the application. As soon as the user didn’t pervert over them: Minimized, unwrapped, extended to full screen, stretched, moved ...

But actually it was all garbage:
- Key "A" pressed
- Yeah ... And what else?
- Another "B", "U", "K", "E", "P", "M" and "C"
- Omg ... Well ... Uh ... And where is the mouse?
- On another monitor. Coordinates need?
- On the other what? .. No, thank you ... And the program window?
- On the main monitor, 2 cm above and 7 cm left
- Two centi ... What ?!
- Monitor LG, 23 ", 1920 * 1080, touch
- and? Do I need to calculate the coordinates myself?
- Yes
- B [censored] I ... Wait ... Touch ...? .. he also poked somewhere, right? > _ <
- Yes, the coordinates of the entire touch or the center?
- Oooh ... Come on center, nafig me all the spot ... Wait ... Keyboard ... This [censored] rested on her elbow or something ?!
- I have no such sensors
- ...
- Program?
- ...
- Program, can you hear me?
- ...

')
[program does not respond. Complete the process?]

Source: https://habr.com/ru/post/365907/


All Articles