Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

With my code which is just a regular RAW input example.... WM_INPUT, RIM_TYPEMOUSE... I'm getting on Windows 10 the full 1,000Hz of my mouse and on Windows 11 I'm getting about 128Hz. How to fix this ...
Gr3g's user avatar
  • 21
0 votes
0 answers
51 views

I'm calling GetSystemMetrics(SM_MOUSEHORIZONTALWHEELPRESENT) and it always returns 0. Thing is, I know I have a horizontal scroll on my mouse (and the raw input device information does come back with ...
Mike's user avatar
  • 308
0 votes
1 answer
441 views

I am making a simple program to enumerate all of the devices currently connected to your Windows along with their pointers, then display the proper name for the device you clicked a button on your WPF ...
The Great ReLLeRtR's user avatar
0 votes
1 answer
525 views

So I have a program that is using multiple keyboards as input using raw input and I want to mess with the indicator lights of caps lock, scroll lock, and num lock per keyboard. So my approach was to ...
yosmo78's user avatar
  • 641
-3 votes
1 answer
76 views

Context: I'm doing the Udemy "100-days-of-code" course and hit a weird stumbling block. Python version: 2.7-64 I ultimately solved it by using the "input" command (vs raw_input) ...
devjc's user avatar
  • 111
0 votes
2 answers
315 views

In my code I have a call to the GetRawInputDeviceInfo function, passing in the RIDI_DEVICENAME command. It is supposed to fill the 3rd parameter with a string containing the name of the buffer, and ...
NicknEma's user avatar
  • 498
0 votes
0 answers
246 views

I'm using winapi SendInput with scancodes to simulate keyboard input to a game, and at the same time I want to measure the timing of the input being received, but unfortunately I've no access to that ...
rimuru 's user avatar
0 votes
1 answer
393 views

I am trying to modify an existing application by adding an input gathering thread outside of its main thread. The original application already processes mouse input pretty decently inside its main ...
Physician's user avatar
  • 483
-1 votes
1 answer
2k views

I have developed a model that generates a new world that follows a sequence. The model successfully outputs a prediction, but I'm unable to use it as it is vectorized. I use tensorflow.keras.layers....
don's user avatar
  • 4,562
0 votes
1 answer
260 views

I'm using GetRawInputData for sniffing barcode reader data. https://github.com/mfakane/rawinput-sharp When I read a barcode from my barcode scanner normally it gets the right characters both rawinput ...
Alexander Chef's user avatar
0 votes
0 answers
92 views

I'm currently working on a method that gives the user the possibility to add a handscanner to a dicitionary in order to scan some barcodes with it. (before i started the scanners were hardcoded in the ...
coffeemug22's user avatar
0 votes
0 answers
299 views

I've tried two things, one is as mentioned in the title. Case 1: In one C++ console application (App_A) I register for RawInput but the window handle is that of another application (App_B) that has ...
Nonlin's user avatar
  • 570
2 votes
0 answers
397 views

I trying to write program that is working properly with GetRawInputBuffer API and consuming all input with little overhead on separate thread. But I found that WM_INPUT_DEVICE_CHANGE messages get lost ...
DJm00n's user avatar
  • 1,557
0 votes
1 answer
192 views

My first Python script should be a Keyboard-Shortcut-Quiz: As a lot of Keyboard Shortcuts only work in combination with CTRL, SHIFT or WIN/OS Key the most "answers" of the quiz will contain ...
raphaelsmosaic's user avatar
-1 votes
1 answer
1k views

I searched the first page of Google but couldn't find an answer. This won't happen for int(raw_input()) weirdly enough. But if i type: a = [raw_input() for i in range(int(raw_input()))] print(a) ...
Qiu Tony's user avatar
-3 votes
1 answer
431 views

How does this line exactly works in python raw_input().split() ?
Manichandra Navuluri's user avatar
0 votes
1 answer
334 views

bird_names="kiwi, hawk, crow, penguin" count=0 bird_guess=input("Guess the name of the bird that may be in the secret list.You will only get 3 chances") while count<3: if bird_guess....
Nandini Jain's user avatar
1 vote
1 answer
2k views

I am trying to register an invisible window in a Win32 console application. My goal is to listen for Raw Input in the WindowProc to (1) display it on the console, and (2) perform additional ...
Venkatesh Potluri's user avatar
3 votes
1 answer
2k views

Why I'm trying to get input from a barcode scanner to my (visual) application. I would like to ignore input from other devices and get the input even if the application loses focus. I found the ...
emno's user avatar
  • 311
2 votes
0 answers
491 views

I want to control the rumble motors on an xbox 360 controller and to do so I need to open a file on the device. How do I determine which device to open, that is, which is the controller/gamepad? I'm ...
Red's user avatar
  • 485
6 votes
1 answer
671 views

I'm trying to get the name of a pressed key with GetKeyNameText, using the make/scan code and extended-key flag given by raw input: std::wstring GetKeyName(const RAWKEYBOARD& info) { WCHAR n[...
Bizzarrus's user avatar
  • 1,364
0 votes
2 answers
2k views

I'm working with an C# Winforms project that read from multiple specified barcode scanner (app need to seperate data from scanner to have correct action) I'm used raw input to filter by device ID and ...
Thao Nguyen Van's user avatar
0 votes
0 answers
532 views

I try to use this project : https://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard I want to handle keys just for a specific keyboard. It is working but, I ...
A.Baudouin's user avatar
  • 2,925
0 votes
1 answer
59 views

I'm trying to write a Fibonacci sequence that can take a user's input as the multiplier for the generational increase in rabbits, i.e., 4 pairs of offspring produced for each pair of mature rabbits. ...
Kasey Brida's user avatar
0 votes
1 answer
284 views

I am having trouble making a prompt that waits only for a certain amount of time for user input. I've ended up using threading to start a thread that waits for the input and using the main thread to ...
ColorCodin's user avatar

1
2 3 4 5
13