How the Computer Mouse Works - Computerphile

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • Used by millions every day we're dissecting mice today. Dr Steve Bagley takes us through the workings, starting with a ball-powered rodent.
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottsco...
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

КОМЕНТАРІ • 232

  • @MyAvitech
    @MyAvitech 3 роки тому +135

    Ahh Yes. The roller ball mouse. They worked great at sucking up any dust or hair on your desk, while conveniently storing it away for later disposal.
    It also had a feature where if you dropped the ball, it would seek out the dirtiest and most inaccessible corner of the room.

    • @RMMLz
      @RMMLz 3 роки тому +4

      That feeling when you'd open up the mouse and use a knife to clean the rods inside it... I miss it so much.

  • @artiem5262
    @artiem5262 3 роки тому +16

    Before we had mice, we had graphics tablets and light pens connected to computers. There is a fundamental difference between these older devices and the modern mouse. Those light pens and tablets were (for the most part) absolute position sensors, sending data to the computer on the position of the pen on the screen or on a purpose-built sensing surface. If you kept updating and tracking this position, you got motion.
    Modern computer mice are quite different -- they sense (and report) *relative* motion. The mouse moved left. It moved up. It moved left and down. Where? Not the problem the mouse needs to solve! Tracking that relative motion made so many things possible, like scrolling three feet to the side on a ten inch surface -- move the mouse to the side, pick it up, move it back, set it down, and move it some more -- relative motion lets you do that. So many other things fall out of going to relative motion. Calibration as to position and distance moved -- gone. Home position? Nope, put the initial mouse cursor where you want it in a window or on the screen, and track the relative motion. So much simpler!
    And our modern optical mice -- imagine going back in time to the early 1980's and sitting down with Englebart or Hovey, two (of many) mouse innovators, and telling them, Forget those quadrature wheels -- we're going to put a video camera and a processor inside the mouse. The video camera captures a magnified image of the desk surface many times per second, and feeds that image data to the processor. The processor does motion estimation, correlating successive video frames to derive motion between those frames, taking the output of the motion estimation algorithm and outputting that to the host the mouse is connected to as relative motion. Early 80's? They would have laughed! And I think they would have seen that yes, it would work -- but how large, how complex, how expensive in early 1980's technology would it be to build that system, a video camera feeding a processor doing motion estimation? PDP-11 sized? Not something that would fit in a mouse, run on very little power, and sell in huge quantities for $20 or under! Then tell them it will work better if you use a laser diode for illumination and interferometry techniques to do motion estimation.
    The technology, and the technological advances in some of these small and ubiquitous parts of our modern computers is amazing!

  • @brettbreet
    @brettbreet 3 роки тому +7

    It was so satisfying to clean the mouse rollers and then have a *smoooth* and *renewed* device!

  • @ForbinKid
    @ForbinKid 3 роки тому +64

    I had an Atari mouse problem on a weekend. Worked OK after cleaning and apart, but back on the desk no go. Bought a new (cheap) mouse and worked OK until the next weekend.
    Solution = "If your mouse doesn't work, close the house curtains". Yes, the sun shone through the plastic case for about 2 hours during the day.

  • @Gooberpatrol66
    @Gooberpatrol66 3 роки тому +29

    I'm curious to know more about the particular algorithm optical mice use to compare images.

    • @XxThePlaylistxX
      @XxThePlaylistxX 3 роки тому +9

      I wanna know more too. It sounds crazy that a mice has enough processing power in it to compare thousands of images and work out exactly how much and in exactly which direction a mouse has moved, while streaming it to the PC within a few milliseconds.

    • @tilmanahr
      @tilmanahr 3 роки тому +5

      @@XxThePlaylistxX See my reply to Nathan’s comment. That sort of bit-wise comparisons of relatively small datasets is actually easy to do really quickly for DSPs.

    • @tilmanahr
      @tilmanahr 3 роки тому +17

      @@0x90h I doubt it. At least in the early 2000s, neural networks and machine learning were relatively expensive and not very well established. The original patents cite bitwise comparisons between adjacent frames to work out the movement. That sort of thing is something simple DSPs can do very well, and very quickly. Remember, we’re talking 32x32 pixels or something. That isn’t exactly a whole lot of data, even by 2000 standards.
      It’s possible that some modern mice might use neural networks, but since simple algorithms running on dirt-cheap DSP chips do the job just fine, I doubt that is the usual solution.

  • @gordonrichardson2972
    @gordonrichardson2972 3 роки тому +304

    A modern optical mouse has more processing power than a 1980 era desktop computer.

    • @yonatanbeer3475
      @yonatanbeer3475 3 роки тому +12

      This sounds iffy. Where do you get it from?

    • @TheUglyGnome
      @TheUglyGnome 3 роки тому +61

      @@yonatanbeer3475
      Simple: A desktop computer from '80s cannot process thousands of images/second.

    • @tazogochitashvili6514
      @tazogochitashvili6514 3 роки тому +14

      @@yonatanbeer3475 I'd say that a high-end wireless one would probably be faster, as those have lights and "macro" software on them, as well as extra software to sync with the computer. It's not that it needs faster hardware, I'd just assume that whatever's the cheapest in that form-factor is probably just faster than whatever was around in the late 70s at least.

    • @An.Individual
      @An.Individual 3 роки тому +8

      this needs to be fact checked

    • @tazogochitashvili6514
      @tazogochitashvili6514 3 роки тому +6

      @@An.Individual Totally, would be interesting to see, but I wouldn't be surprised if it was true.

  • @Ziferten
    @Ziferten 3 роки тому +49

    Oh man, I do NOT miss cleaning the hair and crap off those rollers.

    • @famailiaanima
      @famailiaanima 3 роки тому +4

      Wym bro, just boil another egg!

    • @mfx1
      @mfx1 3 роки тому

      I use a trackball so it's still a thing, not so bad though, as while there is gunk, there's no rollers anymore.

    • @ELYESSS
      @ELYESSS 3 роки тому +2

      I miss removing and stealing them from school computer lab.

    • @mfx1
      @mfx1 3 роки тому

      @@ELYESSS Our college glued the ball retaining ring in place to the only way to clean them was to completely dismantle them.

  • @davidgillies620
    @davidgillies620 3 роки тому +6

    Those Sun optical mouse pads were a damn nuisance. They tended to wander off and you couldn't find one when you needed it (and they were surprisingly costly). At the university where I worked in the mid to late 90s they were glued down in shared computer labs. I was glad to see the back of them.

  • @InventorZahran
    @InventorZahran 3 роки тому +38

    *picks up the mouse as if it were a microphone*
    "Computer? Hello, computer?"
    -Montgomery Scott, in Star Trek: The Voyage Home

  • @KurtRichterCISSP
    @KurtRichterCISSP 3 роки тому +33

    Great vid! Just a suggestion: for the close-up work, have a camera on your desk facing downward towards a well illuminated workspace. Keep up the great work!

  • @haqvor
    @haqvor 3 роки тому +7

    Reminds me of the prank of rotating the SUN optical mouse pads so the pointer went in the opposite direction. Fun times! :)

  • @erezra
    @erezra 3 роки тому +9

    oooh, do an episode on Sprites! That's an awesome subject.

  • @Abrifq
    @Abrifq 3 роки тому +49

    Ah yes, the hardboiled egg yolk in the mouse would be replaced every week. 😂😂😂
    Memories

  • @NeatNit
    @NeatNit 3 роки тому +7

    you really need to make a video describing how such comparisons are made. if I have two images, how do I measure their offset from one another?

  • @MonochromeWench
    @MonochromeWench 3 роки тому +38

    Mentions the third roller then tries to act if it doesn't exist. Could have just mentioned the third roller is on a spring and acts to push the ball against the other two rollers that are sensed.

    • @ELYESSS
      @ELYESSS 3 роки тому +2

      He's a computer professor not a physics one XD

    • @fabian999ification
      @fabian999ification 3 роки тому

      I've always wondered what the third roller was for.

  • @SeanBZA
    @SeanBZA 3 роки тому +3

    I still use an Intellimouse 1.1, does the job perfectly, and has been in use for a really long time.

  • @shanehebert396
    @shanehebert396 3 роки тому +15

    LOL... back in '91, I took my freshman Public Speaking class as a senior (someone said that it'd be a good idea to do that... 3 hour class, low burn, last semester before graduation to have five classes for 15 hours but not all five classes requiring a lot of work to complete). One of our speeches had to have props... most people used a poster that they drew. I had a poster that I drew (the night before it was due) that diagramed one of the sensors for a mechanical mouse (that's what people who had computers had back then) including the wheel. I also took the top off my Atari ST mouse (and cleaned it ;) ) and took it in to pass around so people could put their fingers on the rollers and move it and stuff. At the time, there were some Time Life books (I think they were) about "How Computers Work" or whatever and the TV commercial started out with a dude holding a mouse and saying "How does the mouse move the cursor?" rather dramatically.
    So, I started my speech that same way... I held up the mouse, had a similar look as the actor, leaned forward and said in what I thought was a TV voice, dramatically, "How does the mouse move the cursor?" and then said "Well... I'm going to tell you how it does that today." I handed the mouse to someone at the front of the class and asked them to play with it and then pass it on to the next person and then went into a description of how it all worked.
    Now... this wasn't entirely planned in advance. True to form, I had put it off due to work in other classes and literally the night before it was due, realized that it was due the next day and within about three or four minutes decided what I was going to do. I ran over to the student bookstore and bought the blank poster. Went back to my dorm room, drew the diagram in about, say, ten minutes after finding something that was circular and big enough to be seen well (I honestly think I used the bottom of a desk-side trash can), traced it all out, ran over it with a Sharpie to make it thick/dark. The speech itself? I totally adlibbed it on the fly while giving the speech in front of the class. I made an A ;)

  • @robintst
    @robintst 3 роки тому +2

    Consequently, Nintendo adapted the mechanics of a ball mouse's optical encoders for the analog stick on the Nintendo 64 controller.

  • @patton72010
    @patton72010 3 роки тому +32

    "Inside the mouse you've got 2 rollers... well, 3 rollers but 2 rollers "

    • @Computers0101
      @Computers0101 3 роки тому +11

      2 encoder (sensing) rollers, and a tension roller that pushes the ball up against the encoder rollers to reduce slipping where the cursor doesn't move along with the mouse. so really three rollers but two rollers.

  • @klaxoncow
    @klaxoncow 3 роки тому +7

    And a happy X-mouse to you too!

  • @HebaruSan
    @HebaruSan 3 роки тому +15

    I still need to clean my mouse wheel.

  • @hamiltonianpathondodecahed5236
    @hamiltonianpathondodecahed5236 3 роки тому +13

    Mice then: had huge rubbery b a l l s o f s t e e l
    Mice now: Disco light go brrrr

  • @luv2stack
    @luv2stack 3 роки тому +2

    Just what I needed to know before xmas

  • @wp5355
    @wp5355 3 роки тому

    Excellent description of mouse operations!!

  • @anophelesnow3957
    @anophelesnow3957 3 роки тому +3

    I never knew. Steve Bagley, that was entertaining and informative. Thank you and merry Christmas.
    And thank you to the inventor of the ambidextrous wireless mouse.

  • @chaitanyajharbadem-1740
    @chaitanyajharbadem-1740 3 роки тому

    Guys please turn on auto generated subtitles please. Although amazing video keep it up

  • @neilbrookins8428
    @neilbrookins8428 3 роки тому +6

    I still have a ball mouse cleaner. It’s a ball covered in Velcro hooks and comes with isopropyl alcohol to put on it Then there is a pad with Velcro felt and you roll it around.

  • @mohitbansal2556
    @mohitbansal2556 3 роки тому +16

    One of my fav computerphilist

    • @Dojan5
      @Dojan5 3 роки тому +1

      I think you could say that about all of them.

    • @zeldamage001
      @zeldamage001 3 роки тому

      You make him sound like a sexual criminal XD

    • @matteopascoli
      @matteopascoli 3 роки тому

      @@zeldamage001 Computerphiliac 😝

    • @kevinabraham6908
      @kevinabraham6908 3 роки тому

      What is his name? Anybody..?

  • @frankowalker4662
    @frankowalker4662 3 роки тому

    I had the same problem with my ball mouse 2 months ago, left and right were fine, up moved the pointer up - and so did down. After an hour it stopped working at all. There were 2 broken wires in the cable. Replaced the cable and it's worked ever since. :)

  • @latchdeadbolt
    @latchdeadbolt 3 роки тому +1

    Ah yes. I recall those times when clearing the ball fluff was a routine part of the work week.

  • @sayanghosh6996
    @sayanghosh6996 3 роки тому +3

    i saw the thumbnail and got excited and thought the video is about Xorg :(

  • @HECKproductions
    @HECKproductions 3 роки тому +1

    always amazed at how simple but genius some of those old technologies were
    much more interesting than todays approach of having a billion sensors sending data to one huge IC that does all the work

  • @0LoneTech
    @0LoneTech 3 роки тому

    There were more iterations of these technologies; I have an optical mouse that uses stripes in two directions on the mouse pad, each with their own sensor. This type only works when straddling the two zones. Some higher end workstation mice also used a rather complicated metal mouse pad where I think the directions were optically separated; they looked a bit like CDs to the eye.

  • @DanBowkley
    @DanBowkley 3 роки тому +4

    What's the advantage of using direction and velocity vs just very quickly sending a string of up/down/left/right blips? I'd think that even with ancient 1200 baud serial it would still be plenty fast enough to work well.

    • @okaro6595
      @okaro6595 3 роки тому

      Why is that people resort to 80s terminology when talking about 80s? You would not use bauds to refer to USB speeds. Baud means signal changes per second. In the 80s it was widely misused to mean bits/second when talking about modems.

    • @DanBowkley
      @DanBowkley 3 роки тому +2

      @@okaro6595 I was using baud to refer to the ancient serial technology of the last millennium.

    • @ZipplyZane
      @ZipplyZane 3 роки тому +1

      Would 1200 baud be enough when you have to send everything in discrete chunks instead of a continuous feed? That's what I assumed the problem was fro what he said--the serial nature of the connection.

  • @UberAlphaSirus
    @UberAlphaSirus 3 роки тому +7

    Does it make me a nerd that I knew this already, I thought everyone knew this. Our school glued the ball in as all the kids used them in their catapults.

    • @UberAlphaSirus
      @UberAlphaSirus 3 роки тому

      ​@spindletea Watch the video, how did they get the ball in or out, how was it rolled about?

    • @UberAlphaSirus
      @UberAlphaSirus 3 роки тому

      @spindletea Refer to the original post. I am not here to teach.

    • @YTANDY100
      @YTANDY100 3 роки тому +2

      @spindletea
      he means glued the cover so you cant take out the ball :-)

  • @rewirestrike
    @rewirestrike 2 роки тому

    I enjoyed reminding myself of the hardware functions of the mouse. I am interested to learn more about the programming model between the operating system and the mouse. In particular, if there is any probability model that is used for a type of improvement for User Experience. Like a type of program that assists a user to navigate using the mouse.

  • @flymypg
    @flymypg 3 роки тому +3

    The mouse that came with early Sun workstations used a pattered reflective mouse pad and simple optical sensors. It was spectacularly sensitive, with much higher XY resolution (close to 10x) than the competing mechanical ball or roller mice. The only hassle was that the mouse worked best when its orientation closely matched that of the pad, though significant rotation was tolerated. Still, it lead to a fair amount of mouse and pad rotation to get optimal performance.
    When I eventually had to give up my Sun workstation for a PC, I immediately found a PS/2 version of the exact same pad and mouse.

  • @VivekYadav-ds8oz
    @VivekYadav-ds8oz 3 роки тому +6

    Could you discuss the algorithm the mouse might use to calculate the shift between two images? Also, is an optical mouse powerful enough to capture and process this algorithm within itself or does it outsource it to the computer?

  • @Ovi0
    @Ovi0 3 роки тому +2

    Instead of sending direction and velocity, why not send the change in x and y?

    • @kc9scott
      @kc9scott 3 роки тому +1

      If it periodically sends the changes in x and y at a fixed regular rate, that's the same as the velocity. If they're not at a fixed periodic rate, I'm sure each message gets timestamped in some way.

    • @kc9scott
      @kc9scott 3 роки тому +1

      And, I suspect that what's really sent IS the change in x and y.

    • @FiNiTe_weeb
      @FiNiTe_weeb 3 роки тому

      @@kc9scott it is periodic, depends on polling rate, my G502 gets polled 1k times/sec, most office mice are 125 Hz afaik, and yea no point in sending velocity, it is almost certainly sending x and y deltas

  • @ersia87
    @ersia87 3 роки тому

    I actually liked the roller ball mice more than the optial ones because they didn't have to be lifted up as much to move the mouse without it detecting the movement. Was very handy when playing first person shooters.

  • @drozcan
    @drozcan 3 роки тому +9

    Mouse only sends the movement delta at it's polling rate, positioning is done by the operating system and if you have a mouse with high polling rate, your pc utilizes more cpu to process.

  • @root42
    @root42 3 роки тому

    At Dr Bagley: you did not tell us why the Atari mouse went into only one direction horizontally! Please enlighten us!

  • @simmo1024
    @simmo1024 3 роки тому +1

    Perfect timing! I was wondering why the mouse on my soon-to-be-repaired Atari ST wasn't working properly and found it was in fact a Commodore mouse...
    Apparently, the switch flips the connections between pins 1 & 4. There is not one fitted inside the Commodore mouse, so I may have to fit one. But good to know!

  • @shdon
    @shdon 3 роки тому

    My very first mouse in 1988 was an optical mouse without a ball. Although the mouse was not branded as such, I think it was based on Mouse Systems Corporation's technology. It required a special mouse mat, which was made of reflective metal and had a very fine grid printed on it. After a few years of use, the grid was worn away in the centre of the pad and the mouse worked reliably only at the edges. For the first couple of years of using a PC, I never had to worry about cleaning any mouse rollers.

  • @timseguine2
    @timseguine2 3 роки тому

    As someone who sweats a lot, the first optical mice from Microsoft were a godsend. Might be exaggerating bad memories, but I feel like I had to clean the gunk off of rollerball mice every day for them to work right for me.

  • @bhuwanbhandari6862
    @bhuwanbhandari6862 3 роки тому +1

    Can we make a mouse which can work without placing on table? Can we design in such a way that it can just detect the non rigid surfaces like air?

    • @prasanttwo281
      @prasanttwo281 2 роки тому

      ooooh, I like the way you think, but I don't imagine it would be terribly comfortable to use
      I know there are some TV remotes that can do that in very precise ways using accelerometers (I think), so the technology definitely exists
      Phones have accelerometers too, so it could be interesting to write an app or something that can do that TV remote thing but with computers and a phone! I might try that some time

  • @pierreabbat6157
    @pierreabbat6157 3 роки тому +1

    What happens to the ball if the mouse is attacked by Cuterebra emasculator?

  • @TheOzumat
    @TheOzumat 3 роки тому

    13:38 I loved my IntelliMouse Explorer!

  • @notsobob
    @notsobob 3 роки тому

    one of the biggest takeaways from this vid is that I now know how a video compression aglorithm works!

  • @kewakl8891
    @kewakl8891 3 роки тому +1

    Glad that I don't need a ballmouse anymore...just like that ZIP Drive on the desk shelf.

    • @DrSteveBagley
      @DrSteveBagley 3 роки тому

      There’s also a SyQuest EZ135 next to the ZIP drive (albeit without it’s case :-) )

  • @fep_ptcp883
    @fep_ptcp883 3 роки тому

    Roller ball mouse showed me the utility of a Bic pen lid

  • @pgrvloik
    @pgrvloik 3 роки тому

    Nice but I'd like to know how a mouse pointer is rendered too

  • @kartykeya7741
    @kartykeya7741 3 роки тому

    Next video. Could u explain mechanical keyboard and modern keyboard

  • @prich0382
    @prich0382 3 роки тому

    The fastest polling rate mouse today as far as I know is 8000 Hz, most mice top out at 1000 Hz, reducing that spacific delay from 1 ms to 0.125 ms

  • @otakuribo
    @otakuribo 3 роки тому

    Epic assortment of retro tech on that desk! I had an iOmega ZIP Drive in the early 2000s. Also used to clean my mouse rollers with a cotton swab and isopropyl alcohol every other day.

  • @srn306x
    @srn306x 3 роки тому +16

    My cat keeps playing with my mouse... help.

    • @canonpi
      @canonpi 3 роки тому +3

      😂

    • @patrickmaurer2716
      @patrickmaurer2716 3 роки тому +1

      I thunk it‘s broken. Cut it open and see if you can fix it ;)

  • @aspirohk3558
    @aspirohk3558 Рік тому

    What about the software part? Like how does it(pointer) know it's above a file? Or start button?

  • @Amonimus
    @Amonimus 3 роки тому +1

    Wait, does that mean if the mouse is on completely mono-colored surface it won't work?

    • @gordonrichardson2972
      @gordonrichardson2972 3 роки тому +1

      It works on undulations (light and shadow) not colour.

    • @kc9scott
      @kc9scott 3 роки тому +1

      Light and shadow IS part of color. Amonimus is correct; when on that type of surface, it won't work.

  • @RagHelen
    @RagHelen 3 роки тому

    This time the video was shot in the arboreum.

  • @tayzzed
    @tayzzed 3 роки тому

    Loving the small Christmas tree 🎄

  • @pete3897
    @pete3897 3 роки тому

    Interesting fact - PIR sensors work in a similar way to the modern optical mouse with the image/frame comparison used to detect movement through a low resolution CCD

  • @James100707
    @James100707 2 роки тому

    How does the mouse know where the screen is ?

  • @ecdhe
    @ecdhe 3 роки тому +3

    Nice vintage Atari ST on the desk

  • @Seegalgalguntijak
    @Seegalgalguntijak 3 роки тому +1

    But what's the difference between some optical mice that do have a visible red light and others that don't? Do the ones with the "invisible light" use infrared instead? Why do some of them actually warn to be classified as a class 1 laser product?
    Also, why do optical mice often work worse on a trouser leg (or pant leg for Americans) than a rollerball one does?
    From the time of rollerball mice, I also miss the possibility to use them without the need of a surface, by just holding them in your hand and moving the ball with your middle finger, while clicking the buttons with your thumb...

    • @dewdop
      @dewdop 3 роки тому

      The word trouser doesn’t need clarification...

    • @Seegalgalguntijak
      @Seegalgalguntijak 3 роки тому +1

      @@dewdop Maybe for Americans, it does? Also, I'm neither, English is my second language, so I don't really know whether to use trouser(s) or pant(s).

    • @dewdop
      @dewdop 3 роки тому

      @@Seegalgalguntijak na, American English has the word trouser, though with slightly different connotations.

    • @Seegalgalguntijak
      @Seegalgalguntijak 3 роки тому

      @@dewdop Oh, I see. I thought it's all just called "pants" (or pant, if there is even a singular form of it) in American English.

    • @dewdop
      @dewdop 3 роки тому

      @@Seegalgalguntijak It usually is. Trousers in American English can refer to special types of pants, for example, "snow trousers," in some regions.

  • @YuanLiuTheDoc
    @YuanLiuTheDoc 3 роки тому +1

    Pretty cool to know that the "mechanical" mouse had to use optical decoders. I had always assumed that they would use mechano-electric ones (i.e., tiny electric generators).

    • @MegaKopfschmerzen
      @MegaKopfschmerzen 3 роки тому

      Interesting, I thought they would use potentiometers.

  • @ikkombikom
    @ikkombikom 3 роки тому +8

    please allow auto-generated English subtitles. it would help a lot for non-native English viewers like me :)

    • @stivassc
      @stivassc 3 роки тому +5

      I think youtube removed that feature recently :(

    • @adrianpopagh
      @adrianpopagh 3 роки тому

      Subtitles help me watch videos on mute while putting the kids to sleep...

  • @steppenhenge
    @steppenhenge 3 роки тому +1

    trackball ftw

  • @gogl0l386
    @gogl0l386 3 роки тому +24

    Vim/evil mode with tiling window manager gang: eww wtf is that rodent?

    • @cheaterman49
      @cheaterman49 3 роки тому +5

      :-) people be like "eww you use touchpad?" me be like "barely using a pointer at all"

  • @sid5468
    @sid5468 3 роки тому

    whole comment section is underrated.

  • @Bellenchia
    @Bellenchia 3 роки тому +1

    The first few seconds are so british

  • @PiddeBas
    @PiddeBas 3 роки тому

    What about laser mice?

  • @alibulus4382
    @alibulus4382 3 роки тому +1

    please use automatic cc. i lilke your videous but i can only understand with reading cc :(

    • @Computerphile
      @Computerphile  3 роки тому

      We have an open ticket with UA-cam support about this - the subtitles are enabled but not showing - very sorry, hope to resolve soon >Sean

  • @guilherme5094
    @guilherme5094 3 роки тому

    Nice!

  • @vaidhyanathansm7625
    @vaidhyanathansm7625 3 роки тому +2

    I love all your videos, but I feel difficult to comprehend because of the varied accents used by different speakers. It would be great if you could add subtitles in the video! Just a suggestion!

  • @ecdhe
    @ecdhe 3 роки тому +1

    The first mice (made by Xerox) were actually optical. They were however very expensive. One of the things that Apple did for its Lisa and Mac in the early '80s is to find a company that could come up with the rollerball design - it required to clean up the mouse but was as reliable and *much* cheaper.

  • @billkendrick1
    @billkendrick1 3 роки тому

    Oh also, Atari's "Driving Controller", only officially used for Atari VCS/2600 "Indy 500" top-down racing game, used a similar technique to roller mice, but only in one dimension. They looked like paddle controllers (which were analog and used a potentiometer), but they were not restricted, and could spin in either direction forever. They sent a digital signal which needed to be decoded similar to mouse input, a few years later.

  • @DJayDiamond
    @DJayDiamond 3 роки тому +1

    How about the optical sensors which don't have a laser? I'm guessing some sort of IR sensor instead

    • @Pablud3S
      @Pablud3S 3 роки тому

      Not many optical mice use lasers (they are IR lasers, if they do), usually it's just a colored or IR LED. Laser mice can have a better DPI, but the differences between them are mostly gone, except the cooler "LASER PRODUCT" sticker.

  • @everythingisinfrared6029
    @everythingisinfrared6029 3 роки тому

    How much I would like to just receive the video frames from the optical mouse camera as images...

    • @davidwillmore
      @davidwillmore 3 роки тому

      There are some mouse chips which allow that, but it is a bit of a hack as you can imagine.

  • @whiterottenrabbit
    @whiterottenrabbit 3 роки тому +1

    What about the Foodskey channel? Care to finally tell the 20k+ subscribers there that you abandoned Foodskey in favour of more profitable channels like Numberphile or Computerphile?

  • @ThePhragmites
    @ThePhragmites 3 роки тому +2

    interesting. how about tablets like the Wacom, which I use for my photography editing work, or the surface pen?

  • @JogBird
    @JogBird 3 роки тому +3

    omg is that an Atari Mega ST ???

  • @techwithmohitkr
    @techwithmohitkr 3 роки тому

    Can we use the mouse camera as a video input device?

    • @FiNiTe_weeb
      @FiNiTe_weeb 3 роки тому +1

      id assume that data never leaves the mouse, with some modification it could likely be doable

    • @grn1
      @grn1 3 роки тому +1

      @@FiNiTe_weeb It is possible with some mice but it's a bit hacky. Can't remember who's video it was but I do recall seeing a video of someone getting the mouse image feed.

  • @JeffBourke
    @JeffBourke 3 роки тому

    The first optical mice were terrible. You would play Counter Strike and try to do a 180° turn and you would just stand there and die.

  • @ashwinalagiri-rajan1180
    @ashwinalagiri-rajan1180 3 роки тому

    what's the font in computerphile intro

  • @jonathanhusni9484
    @jonathanhusni9484 3 роки тому +1

    im looking for an optical sensor but with the microprocessor that decodes the signal integrated, does anyone know a module with this specifications?

  • @vtbn53
    @vtbn53 3 роки тому +6

    That's the second most pathetic Christmas tree I have ever seen...

  • @mfx1
    @mfx1 3 роки тому +1

    You missed out one of the more interesting (and widely miss-understood) things which is how the mice that worked with both PS2 and USB ports with a little adapter worked, I've heard so many wrong explanations over the years.

    • @0LoneTech
      @0LoneTech 3 роки тому

      They would detect electrically which sort of port they were connected to; PS/2 ports pull both data and clock lines up with a resistor, while USB ports pull their D- and D+ lines down (and detect low or full speed by which line is pulled up first by a device). So the microcontroller in the mouse would switch to PS/2 mode if it saw a high level. If it didn't, it would try pulling one line up to start the USB device connection sequence. There also exist rare active converters, which contain their own microcontroller (or even ASIC, but less likely) to talk both protocols.

  • @TheTugge
    @TheTugge 3 роки тому

    This was great first part of the mouse series. I hoow you do the second part where you siscuaa about the software side and the algorithms to smooth mouse movements etc. Because I always find it strage why linux mouse feels different than windows mouse and they must have different algorithms to translate mouse speed/acceleration to actual cursor movement.

    • @kc9scott
      @kc9scott 3 роки тому

      And the Mac mouse as well. I believe that difference in feel is due to the nonlinearity that they use. IMO, the Mac mouse has a much nicer nonlinearity (i.e. significantly nonlinear, but easy to control) than Windows, which seems like it has very little nonlinearity at all and is just always fast.

    • @dewdop
      @dewdop 3 роки тому +2

      @@kc9scott nice is a matter of preference; the term is “mouse acceleration” in Windows and “mouse scaling” in Mac.

    • @kc9scott
      @kc9scott 3 роки тому +1

      @@dewdop It's not just a difference of terms. It's a difference of the underlying algorithms. There's no way a user can set those sliders to get the same response and feel between one OS and the other.

    • @dewdop
      @dewdop 3 роки тому

      @@kc9scott Yes.

  • @zacherynuk842
    @zacherynuk842 3 роки тому +2

    The first Microsoft Intellimouse was wonderful. As highly regarded as cherry keyboards. Don't make like they used to.

  • @Pyrazahn
    @Pyrazahn 3 роки тому +1

    With all the nostalgia hype nowadays, I wonder if there are people who still prefer ball mice over optical ones.
    I know I definitely don't miss having to interrupt my work and clean the rollers every few days because one of them collected enough dirt again and stopped turning properly.

  • @Reziac
    @Reziac 3 роки тому +1

    Wait.. my early (2004ish) optical mice preferred glass over everything else. At the time they were A4Tech-branded mice. In fact I used a glass mousepad right up until my last A4Tech mouse died. And since then I've seen other optical mice that prefer a slick metal or enamel surface. What gives?

    • @Xylos144
      @Xylos144 3 роки тому

      It turns out that mice can actually track on glass decently provided that there is either enough grease/grime on the surface, or if the glass has a bunch of bubbles or micropits near the surface that provide enough contrast to be matched between images for tracking.
      As long as the images can find the matching parts between themselves, it can do a decent job of tracking, though it will still tend to not be quite as accurate as using some kind of high-contrast gaming surface.
      One thing you can do as a test is get some glass cleaner and really clean off your mousepad. See if the mouse struggles to track. If it struggles, then if you just keep moving the mouse around, it ought to dirty itself from the grime on the little feet/sliders on the bottom of the mouse and then start tracking well. And if you want to help it along, you can smear your hand over the surface and add some of you own grime to help it out.

  • @UltraGaivalas
    @UltraGaivalas 3 роки тому +1

    OK, but how the mouse wheel work? When you scroll some content up & down, the mouse pointer remains in the same place - how?

    • @grn1
      @grn1 3 роки тому +1

      I don't think early mice had a mouse wheel or extra buttons (probably just right and left click) so they only needed 3 bytes. Modern mice send a lot more data and in an extendable format (so the mouse wheel if of course a different byte). Mechanically most mice wheels work very similarly to the trackballs but even simpler since they only need to turn one wheel instead of two. Realistically you don't even have to connect it to a seperate mechanical wheel you can just have the spokes (the part that connects the center of the wheel to the outside) use the stepped (or lightning shaped) design. Mine has textured dots on it so it may just read though dots (though I doubt it since there is a very distinct step to the movement). My mouse also has the ability to be pressed down (which is fairly common now and just requires a spring sensor underneath and someway either by hardware or software to tell it not to read other wheel movements). My mouse wheel can also be moved side to side (which is uncommon but probably not too difficult to implement).

  • @jlp1528
    @jlp1528 3 роки тому +1

    Cool video but then how do laser mice work?

    • @vylbird8014
      @vylbird8014 3 роки тому +2

      Exactly the same as LED mice - the use of monochromatic coherent light gives a clearer image. Although in practice, a lot of 'laser' mice are really just plain LED mice with a lie on the box.

    • @jlp1528
      @jlp1528 3 роки тому

      @@vylbird8014 yeah, unfortunately, but I think they've cracked down on that. Gaming mice over 50 bucks usually have actual lasers as far as I know.

  • @arewenot
    @arewenot 3 роки тому

    as a software developer, this is one of the questions i thought i never want to know.

  • @SinanAkkoyun
    @SinanAkkoyun 3 роки тому +1

    But what about the horizontal mouse movement problem?

    • @davidwillmore
      @davidwillmore 3 роки тому

      There is something blocking one of the sensors or there is an electrical problem with one of the signals getting to the little chip which does the quadrature decoding and protocol conversion.

  • @supersu6138
    @supersu6138 3 роки тому

    Yeah but modern mouse dont even have that flashy red light and they just fine on even a white paper i am still wondering how the imaging would help in such a linear surface

    • @davidwillmore
      @davidwillmore 3 роки тому

      They simply use infra red light so you can't see it. They also use a very tiny lens which magnifies a very small portion of the surface they are on. Paper at that magnification looks like a mountain range.

  • @thedduck
    @thedduck 3 роки тому

    Dang.. didn't know that optical camera has a camera too detect the movement of the mouse.. *mind blown* 🤯

  • @ToxicallyMasculinelol
    @ToxicallyMasculinelol 3 роки тому

    man you need to zoom in further

  • @rhythmmandal3377
    @rhythmmandal3377 3 роки тому

    I now the < C > is for computerphile, but it looks like a low key endorsement to C.

  • @avi12
    @avi12 3 роки тому

    What about optical mice that don't emit light, such as SteelSeries Rival 100?

    • @fllthdcrb
      @fllthdcrb 3 роки тому +9

      Infrared, perhaps??