LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Bluetooth keyboard setup

Posted 09-04-2024 at 07:49 AM by jheengut
Updated 09-04-2024 at 07:51 AM by jheengut

My bluetooth keyboard was not useable under slackware.

This conf was added to /etc/udev/rules.d/70-bluetoothkeyboard.quirks

Code:
 
MatchUdevType="keyboard pointer" 
MatchBus=bluetooth 
AttrKeyboardIntegration=external

hope this helps
Member
Posted in Unix, Linux, Slackware
Views 51 Comments 0 jheengut is offline
Old

keyboard or mouse mounted as ghost joystick

Posted 09-14-2016 at 12:15 PM by number22
Updated 09-15-2016 at 06:58 PM by number22 (spelling, format)

Mouse cursor jumps randomly and having a hard time in some steam games. This problem is fixed by udev rules. find this link by google: udev keyboard joystick

https://github.com/denilsonsa/udev-joystick-blacklist

Modified its rules so the ghost joystick is unbinded from usbhid driver.

Code:
#Microsoft Corp. Basic Optical Mouse v2.0 power
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0x045e", ATTR{idProduct}=="0x00cb",
...
Member
Posted in Uncategorized
Views 1841 Comments 0 number22 is offline
Old
Rating: 4 votes, 4.00 average.

Bash scripts and keyboard input

Posted 01-29-2012 at 02:43 PM by Nominal Animal

You can use Bash to read individual keypresses. Here is an example:
Code:
#!/bin/bash

# Reset terminal to current state when we exit.
trap "stty $(stty -g)" EXIT

# Disable echo and special characters, set input timeout to 0.2 seconds.
stty -echo -icanon time 2 || exit $?

# String containing all keypresses.
KEYS=""

# Set field separator to BEL (should not occur in keypresses)
IFS=$'\a'
...
Senior Member
Posted in Uncategorized
Views 12987 Comments 0 Nominal Animal is offline

  



All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration