Jump to content

Read from keyboard

- - - - -

  • Please log in to reply
6 replies to this topic

#1
psm

psm

    Newbie

  • Members
  • Pip
  • 4 posts
Hi, I want to ask you, how can I do a program, which will be read characters from a keyboard in random time. I mean it, that if I write some characters on a keyboard in every time, when I come to the PC, it save it to txt and I wont have to start this program frequently, because it will be started with start of the PC. The keyboard is connected to the PC by an USB port. Thanks for advices.

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,717 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
What operating system would this be for? This sounds like you want to write a keylogger...so why do you want to do this?
sudo rm -rf /

#3
psm

psm

    Newbie

  • Members
  • Pip
  • 4 posts
It would be for windows and I need it for an access system, which will be realised by a keyboard, I m sorry, that it seem like a keylogger, I wrote it wrong. And I want to do this keyboard in a different room from room of a PC, so these people wont have to start and finish this program. Thanks for advices.

#4
Firebird_38

Firebird_38

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
lol.

Sorry, but what's the question? How to save keystrokes to a file? So that when you return to your PC, your program doesn't need starting? From a different room?

I know how to fix this, but I can't tell you, because I'm going from room to room so I don't have to start and finish this post. I wanna do a keyboard too, but I'm shy around keyboards and they don't like me. :(

#5
psm

psm

    Newbie

  • Members
  • Pip
  • 4 posts

Firebird_38 said:

lol.

Sorry, but what's the question? How to save keystrokes to a file? So that when you return to your PC, your program doesn't need starting? From a different room?

I know how to fix this, but I can't tell you, because I'm going from room to room so I don't have to start and finish this post. I wanna do a keyboard too, but I'm shy around keyboards and they don't like me. :(
So you are clear ****.

#6
Firebird_38

Firebird_38

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
Yes, very

Posted Image


#7
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,717 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Ok, I'm utterly confused now...you want to type stuff and automatically save everything you type into a text file?
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users