LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2003, 02:44 PM   #1
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Rep: Reputation: 30
New at this, where do i start?


I want to start coding again and need to know where and with what i sould get started.
I'm looking to build a GUI app that will access a second mouse on usb
and use it's output to control variables(like volume,desktop switching,and the buttons would launch a user specified app) in KDE.
this is certainly a larger undertaking than i think, but i'm gonna give it a wack anyway.

so any advice? thanks in advance.
 
Old 01-21-2003, 03:46 AM   #2
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
GTK+ or QT if you want to use native code, otherwise Java. You can draw windows and controls and use events with any of these.
 
Old 01-21-2003, 05:26 AM   #3
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Original Poster
Rep: Reputation: 30
so i've been reading the kdevelop manual and coming along ok.
but i've not seen much info about devices and/or usb.

oh, and what if I wanted to take a look at the source for the mouse control center app?

thanks for the reply. hopefully my cries for help will become less general
 
Old 01-21-2003, 01:08 PM   #4
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Quote:
so i've been reading the kdevelop manual and coming along ok.
but i've not seen much info about devices and/or usb.
Well, handling a second mouse is going to require some pretty low-level programming. I doubt Qt or Gtk support a second mouse, you might have to use raw X for that, or possibly go even lower-level than that.

Alex
 
Old 01-21-2003, 01:33 PM   #5
ocularbob
Member
 
Registered: Nov 2002
Location: brooklyn NYC
Distribution: gentoo
Posts: 212

Original Poster
Rep: Reputation: 30
yeah thats what i'm starting to see.
But what about this?
I have a Logitech Marble mouse. It's got 4 buttons (2 intended to be scroll up and down). The scroll buttons are both treated as the middle button.
any idea how to setup an app to reconfigure what the buttons do.
I guess i just need to know where the program will need to run. (control center module, applet, kernel, commandline, etc..)
I'm sure that i will fail a thousand times at this.
but i'm also sure I'll learn a ton along the way.
Thanks for any and all help.
 
Old 01-21-2003, 10:34 PM   #6
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
I'm not sure because I've never done this, but if you want a device to function differently than it is programmed to, I would think you'd have to rewrite the driver for it. I might be wrong, but that's my guess.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 02:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 08:53 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 04:49 PM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 02-29-2004 11:06 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:47 PM.

Main Menu
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